2 Replies Latest reply on Sep 16, 2015 3:08 AM by dileep kumark74579990

    How to place xmlelements in between xmlelements of textframe in indesign document using INSERTIONPOINT?

    dileep kumark74579990

      I am trying to place using like this:


      if (myDocument.selection[0] is InsertionPoint ){

        var insertionStory:Story = myDocument.selection[0].parent as Story



        myDocument.selection[0] = insertionTextFrame;



      But here placing at the end of previous xmlElements not at insertion point.

      Please help me.