XML: print parents of an element from root
hi everybody,
is there way in indesign javascript literally print parents or ancestors (xpath) of element root element of xml file. below screenshot output perl script. , code of perl script is:
"my @elt = $twig->get_xpath('//index/index-list');
for(my $i=0; $i<scalar(@elt); $i++){
print $elt[$i]->xpath, "\n";
}"
can same kind of output using indesign javascript?
More discussions in InDesign Scripting
adobe

Comments
Post a Comment