Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

How to capture the contents between the tags?

$
0
0

Hello All,

 

I need to apply the separate character style for the punctuations between the tags, please refer the sample below:

 

<cite>1</cite>, <cite>5</cite>-<cite>8</cite>

 

Here I need to apply the seprate character style for the contents like ',', '-' which are found above between the close and open tags. Please advise how we can catch these contents using JS?

 

PS: I can catch the tag <cite> using the XPath concepts in JS.

 

Thanks in advance,

 

Praveen


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>