10 Replies Latest reply on Oct 21, 2013 3:57 AM by Americo Pinto

    How to find out the page number of an xml element

    Americo Pinto Level 1

      Hi everybody, sorry for my very bad english (french guy! logical). I hope you see what I'm looking for.


      I'm scripting (javascript) an exporting script of every articles from a multi-pages indesign script.

      In fact I could have one or more article in one file, every one of them is on an separate xml element. for each I have to export an xml file named with, first, the page number where appears the xml element, second, the number of exported article.

      I'm success the second purpose, but not the first.


      Someone have an idea ?