Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How can I separate the DNG artifact content into heading number and associated into two text elements in RPE??

I am trying to some DNG text artifacts which are configured as headings and normal text. I want to understand how to split the heading number and associate heading title into two different text elements in RPE.

0 votes


Accepted answer

Permanent link
Hi Ravi,

You need not use split function, as the heading number is readily available. You can use dataSource/artifact/moduleContext/contextBinding/section for that.
dataSource/artifact/moduleContext/contextBinding/depth will give the heading level. If you apply dataSource/artifact/moduleContext/contextBinding/depth as style for "title", RPE will automatically add the heading numbers.

Hope this helps!
Regards,
Prasad
Ravi Gollapudi selected this answer as the correct answer

0 votes


One other answer

Permanent link

 Please be a little more specific.

It sounds like you have imported a heading: number and title, and the following paragraph(s?) of text into one text artifact as flat text, and now you need to unpack it?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,125

Question asked: Mar 12 '20, 12:52 p.m.

Question was seen: 818 times

Last updated: Mar 14 '20, 2:52 a.m.

Confirmation Cancel Confirm