Re: XPointer support

2006-03-31 Thread Michael Glavassevich
Or generate an element() scheme XPointer instead: element(/1/1/2) Nikhil Dinesh <[EMAIL PROTECTED]> wrote on 03/30/2006 10:36:14 AM: > 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 mos

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

Re: XPointer support

2006-03-29 Thread Michael Glavassevich
On Mon, 27 Mar 2006, Brian Demers wrote: Can an XPointer string be generated from a given node? How about when using XInclude and DOM parsing? What about SAX parsing? If you're looking for an API which does this, I don't know of one. Thanks again! -Brian Demers ---

XPointer support

2006-03-27 Thread Brian Demers
Can an XPointer string be generated from a given node? How about when using XInclude and DOM parsing? What about SAX parsing? Thanks again! -Brian Demers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma