How can I separate the DNG artifact content into heading number and associated into two text elements in RPE??
![](http://jazz.net/_images/myphoto/1ed10e437faa58918c21278d9668375a.jpg)
Accepted answer
![](http://jazz.net/_images/myphoto/1ed10e437faa58918c21278d9668375a.jpg)
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