7 Replies Latest reply on Dec 3, 2013 4:59 AM by elansezhianr72877736

    How to capture the contents between the tags?

    Gejaraja Level 1

      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