0 Replies Latest reply on Dec 7, 2015 11:56 PM by sarfrazm7834471

    How to place xml element into table cell in InDesign Script

    sarfrazm7834471

      var lableNode = myDoc.xmlElements[0].xmlElements[2].xmlElements[1];

      var myTable = myTableFrame.insertionPoints[0].tables.add({columnCount:3, bodyRowCount:3});              

      lableNode.placeXML(myTable.rows[0].cells[0]);

       

      -----------------------------------------------------------------

      I am using above code, but it is not woking....

      I just want to pace  lableNode into first cell of myTable & XML Structure should not change,

      After Placing lableNode into table Cell, it should be connected to original XML Structure...

       

      Anyone can help me Please...

      Thanks...