Unfortunately, from what I know, there isn't an API to get an XPath. It
shouldn't be very hard to implement using a cursor.

Cezar

> -----Original Message-----
> From: Willis Morse [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 21, 2007 2:14 PM
> To: [email protected]
> Subject: How to generate XPath for XMLObject/XMLCursor?
> 
> Is there any way to derive an Xpath from an XmlObject or XmlCursor at
> runtime?
> 
> Or, alternatively, is there anyway to convert an XmlBookmark into an
> XPath?
> 
> My app lets users choose elements from within an XML document, and I
> need a way to persist xpaths to these chosen elements back into the
> XML document.
> 
> Thanks,
> Willis Morse
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to