We don't currently have something like that, but with the APIs that we have (on XmlCursor specifically) writing something yourself should be a breeze. Then we can maybe add it as a utility in the code or as a sample :-)!
Radu On Fri, 2006-10-20 at 09:31 +0100, [EMAIL PROTECTED] wrote: > Hi > > Is there a method I can call on an XmlObject A which happens to be a child of > another XmlObject B that will return an xpath expression, that when used in a > query, relative to XmlObject B, would select the original XmlObject A? > > E.g. in a query, you are going from string path to node: > > 'xpath expression' (on node B) -> 'node A' > > I want to go the other way, from node to string path: > > 'node A' -> 'xpath expression' (on node B) > > Note that node A could be an attribute or an element. Node B can be assumed to > be the root of a document. > > Thanks > > Alex. > > --------------------------------------------------------------------- > 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]

