xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] XPath starting from an Element ?
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: "Zerbst, Carsten" <Carsten.Zerbst AT PROSTEP.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] XPath starting from an Element ?
- Date: Thu, 28 Jun 2007 08:13:06 -0400
Zerbst, Carsten wrote:
Hello,
is there a possibility to start an XPath query from an Element and not from the Document ?
Yes, just invoke query on the element you want to start from. E.g.
element.query("foo");
finds all the foo children of element.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
[XOM-interest] XPath starting from an Element ?,
Zerbst, Carsten, 06/28/2007
-
Re: [XOM-interest] XPath starting from an Element ?,
Elliotte Harold, 06/28/2007
- Re: [XOM-interest] XPath starting from an Element ?, Zerbst, Carsten, 06/28/2007
-
Re: [XOM-interest] XPath starting from an Element ?,
Elliotte Harold, 06/28/2007
Archive powered by MHonArc 2.6.24.