2 Replies Latest reply on Jun 24, 2009 1:48 AM by கற்பனை (Imagine)

    Getting All the XML Elements

    கற்பனை (Imagine) Level 3

      Hi guys,

       

      I need to get all the XML elements in the InDesign documents using JS (InDesign 5.0.4 -  windows),  the below code it will shown only the first node.

       

      for(var i=0; i<app.activeDocument.xmlElements.length; i++)
                {

      alert(app.activeDocument.xmlElements.markupTag.name);
                   }

       

      Help me anybodies,

      Nagaraj