XPath in AuthorOperation

Having trouble installing Oxygen? Got a bug to report? Post it all here.
rparree
Posts: 53
Joined: Tue Aug 23, 2005 12:00 pm

XPath in AuthorOperation

Post by rparree »

I am not sure if this is possible already, but can you evaluate xpath expressions on the AuthorDocument or any AuthorNode within a AuthorOperation?.

tx.,
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XPath in AuthorOperation

Post by sorin_ristache »

Hello,

No, XPath expressions cannot be evaluated in an Author extension. We will consider allowing that in a future version of the Author editor.


Regards,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XPath in AuthorOperation

Post by sorin_ristache »

Hello,

We added in version 10.1 in Author API two functions for evaluating XPath expressions in an AuthorOperation: authorAccess.getDocumentController().evaluateXPath() and authorAccess.getDocumentController().findNodesByXPath(). The API is available in Author SDK that you can find on the Developer page.


Regards,
Sorin
Post Reply