1 Reply Latest reply on Apr 16, 2013 11:00 AM by MW Design

    Indesign Javascript and xml structure

    smgaetano Level 1

      Hi to all

      I am new to program javascript in Indesign, and I am looking for some example on how modify the xml structure inside a document using a javascript script.

       

      i.e.

      if I have a structure like this in the original document:

      root

      section

      tag1

      tag2

      tag3

       

      I need to transform it in this way( this is just an example, may be more complex):

      root

           section

                tag1

                tag2

                tag3

       

      Any help on where or how to solve this is very appreciate.

      Thans a lot