0 Replies Latest reply on Sep 14, 2007 9:38 PM by (Ilia_Harlamov)

    CS2 ExportFile from selected XMLElement

      Hello all.
      I have a xml tree inside indd document and i need to export each XMLElement into different xml files from javascript.
      In plain InDesign i can do this with script:

      //getting each XMLElement as myXMLElement
      app.xmlExportPreferences.exportFromSelected = true;
      myXMLElement.exportfile("XML",new File("/c/foo.xml"))

      (Like in this guide http://www.adobe.com/products/indesign/pdfs/realworld_XML.pdf)

      But! InDesign Server does not have function XMLElement.select() so i can't export each XMLElement in different file.

      Any ideas?