Re: XPointer support

2006-03-30 Thread Brian Demers
Do you have a snippit that can generate the an XPath expression? Does XPath work with XInclude? Thanks again!! On 3/30/06, Nikhil Dinesh <[EMAIL PROTECTED]> wrote: > Well, if JXPath gives you an XPointer from an XPath, why not just generate > an XPath for a node? It will obviously not be the mo

Re: XPointer support

2006-03-30 Thread Nikhil Dinesh
Well, if JXPath gives you an XPointer from an XPath, why not just generate an XPath for a node? It will obviously not be the most readable XPath, or the most efficient (doing that is impossible). For example if you have: and you want an XPath for bar3, it could simply be: child::*[

Re: XPointer support

2006-03-30 Thread Brian Demers
JXPath can return an XPointer string from a given XPath expression. How ever this is not all that usefull to me. Does anyone know of a way to automaticly generate and XPointer string from a given XML node? Thanks again! On 3/30/06, Michael Glavassevich <[EMAIL PROTECTED]> wrote: > On Mon, 27 Ma