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
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
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::*[
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
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
---
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