3 Replies Latest reply on Apr 22, 2010 9:13 AM by Harbs.

    Help needed. XML in JavaScript


      Hello. As you will find out by my question, I'm not really a Pro and I hope one of you can help me. I can imagine that the solution is very easy. I don't want to import a xml file into InDesign but read the xml information directly in my script and use as variables.

      I.E a xml file lying on my Desktop:


      <?xml version="1.0" ?>




      <name id="name">Burger</name>




      And I want a variable with the content "Burger" and one with the content "name" (read from the attribute).


      I'm really happy for every helping hint I can get.