1 Reply Latest reply on Sep 1, 2014 7:56 AM by Trevorׅ

    Importing XML-File from webservice

    stilformart.de

      Hallo,

       

      I'm trying to import an XML-File wich is generate by webserver. The "importXML()"-Function don't seams to accept URLs, just local files.

      Can someone give me hint or workaround?

       

      var xmlFileURL = 'http://localhost/myfile.xml';
      var activeDocument = app.activeDocument;
      app.activeDocument.importXML(File(xmlFileURL)); 
      

       

       

      Thanks a lot!

       

      Best regards

      Christian