1 Reply Latest reply on Jul 1, 2011 8:16 PM by John Hawkinson

    Importing XML using AppleScript in CS5.

    JJ0330

      Hi, totally new to inDesign but do programming and database work.  I am looking to import an XML file created from our database.  I can do a basic import manually after creating document and importing xml to load tags then creating text box element and tagging it and placeholder text.  Now trying to automate using AppleScript.  Found some samples from inDesign but not sure how to tie all the pieces together.  Does anyone have a simple example that takes a small XML file and loads a few records automatcally into indesign.  Maybe, create new document, create textbox element and create text placeholders and tags then import xml file?

       

      Thanks,

      Joe

        • 1. Re: Importing XML using AppleScript in CS5.
          John Hawkinson Level 5

          I don't work in applescript, but:

          Does anyone have a simple example that takes a small XML file and loads a few records automatcally into indesign.  Maybe, create new document, create textbox element and create text placeholders and tags then import xml file?

          Err, when you say "records," you have me slightly concerned.

          Because it is quite difficult to get Data Merge -like functoinality with XML.

           

          Have you tested (and validated!) this workflow withoutscripting?