I am new to indesign scripting using applescript.
my code is shown in below, my problem is can't set xml element for table
tell application "Adobe InDesign CS6"
tell active document
set rootele to associated XML element of story 1
if rootele = nothing then
set rootele to XML element 1
tell story 1
select text 1
set markup tag of selection to "table" -----------------> this is my problem please help me.
this code is right or not. please help me.
Retrieving data ...