index
Dear All,
In indesign cs3 Add index topics using below javascript code. This Source are to get topics from only character style content. But I want to get a topics in some xml tags. for example
<index> addcontent</Index>
How to get Xml Element content in javascript or xpath?
I am using below codes
"app.findGrepPreferences.appliedCharacterStyle = "Inx";
var myFinds = doc.findGrep();
var myHowManyEntries = myFinds.length;
for (i = myHowManyEntries-1; i >= 0; i--){
var myTopic = doc.indexes[0].topics.add(myFinds.contents);
myTopic.pageReferences.add (myFinds,PageReferenceType.CURRENT_PAGE);"
Regards,
kumargobi