2 Replies Latest reply on May 5, 2008 9:37 PM by (jacintha_mary)

    Associated XML Element for text in indesign

      Hi all,
      I need to find the selected paragraph XML Element Name. I tried doing it, but i'm not getting the selected paragraph exact Tag  instead i get the parent element of that Paragraph . The code i have tried

      set EleName to name of markup tag of item 1 of associated XML elements of item 1 of characters of mypara

      For instance,
      my paragraph


      The selected paragraph's Tag is 'para'. Also I need to get the structure as 'chapter-section-para', but i'm getting only 'chapter' as XML Tag. If atleast i get only 'para' as Tag for my paragraph it would be better instead of getting  entire structure as above mentioned.  How to get this thru Apple Script. Anyone pls help me to get this?