Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Find paragraph styles

Contributor ,
Oct 09, 2019 Oct 09, 2019

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?

 

 

1.png

 

2.png

173
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation