2 Replies Latest reply on Jan 31, 2011 9:38 PM by Nagaraj Muthu

    How to move XML element within xml structure (ID CS4)

    gopaljay78

      Hi,

       

      Can anyone help me on the following task in Indesign CS4.

       

      I am having the indesign document with the xml structure:

       

      Root

            XMLElement1

            XMLElement2

            XMLElement3

            XMLElement4

       

      Now I want to move the xml element XMLElement4 up, so that the structure would like below.

       

      Root

            XMLElement1

            XMLElement2

            XMLElement4

            XMLElement3

       

      Here, I only want relocate the xml element XMLElement4 after XMLElement2.  But the paragraph order should not be changed.

       

      Is there any possibility to do like this using Javascript.

       

      Anyone guide me on this.

       

       

       

      Thanks,

      Gopal