Please any body can help me with below code
var myDocument = app.documents.add();
var myTextFrame = myDocument.pages.item(0).textFrames.add({geometricBounds:["6p", "6p", "10p", "10p"]});
var myTable = myTextFrame.insertionPoints[0].tables.add({columnCount:3,bodyRowCount:3});
the above code is for creating table in Adobe inDesign. With this I am able to get table onto the document of inDesign. Now I am struggling with putting/tagging data from XML into the above table. Please anybody could help me with the same.