🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
1 messages
1 total messages Started by ksaravanan Fri, 27 Mar 2009 09:12
Xpath Error
#66
Author: ksaravanan
Date: Fri, 27 Mar 2009 09:12
25 lines
1125 bytes
Hi there,

I have done various process through Xpath. However a strange error occur if xpath = orderedlist

Please look the code :
----------------------
function AddReturns(){
this.name = "AddReturns";
this.xpath = "//orderedlist";
this.apply = function(myElement, myRuleProcessor){
with(myElement){
insertTextAsContent("\r", XMLElementPosition.afterElement);
}
return true;
}
}

It raise the following error :
------------------------------
Adobe InDesign cannot process the illegal fragment 'ord' of Xpath expression '//orderedlist'

Please enlighten me.

Thanks in advance.
Saravanan.K
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads