3 Replies Latest reply on May 6, 2010 9:34 AM by Larry G. Schneider

    How to find ancesor xml element in ID CS4

    gopaljay78 Level 1



      Can anybody help me on the following task.


      1. Find an specific xml element in the Indesign xml structure. (for example <sidebar>)

      2. Find first ancestor of <sidebar> tag.


      For example.

      <section role="rm">



                     <sidebar> ....  <sidebar>


      Here I want to find its first ancestor element <section role="rm">. Is it possible to find this element using the script.


      Please suggest.