Copy link to clipboard
Copied
Hi,
A paragraph contains more than one tags with aid:pstyle. These tag contents are runon. But i need to insert para enter infront of the second pstyle element. Element name may change in paragrahs (ex. <title aid:pstyel="title"><p aid:pstyle ="style2">).
I have to place the enter mark infornt of the p tag. In InDesign document, it comes as single paragraph with single paragraph style but xml element have 2 aid pstyle. i need to find these occurence and place the enter dynamically using javascript.
How can i find these occurence in InDesign document?
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now