xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Arjan Huijzer <huijzer AT gmail.com>
- Cc: XOM-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Search and replace
- Date: Tue, 19 Apr 2005 09:52:27 -0400
Arjan Huijzer wrote:
I know that in the DOM specs there is a method getElementsByTagName(). Does XOM contain a similar method? Or do I have to walk through the document myself, recursively calling methods such as getChildElements()?
In XOM 1.1 you can write such queries in XPath. In XOM 1.0 you need to walk through the document recursively.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] Search and replace,
Arjan Huijzer, 04/19/2005
-
Re: [XOM-interest] Search and replace,
Elliotte Harold, 04/19/2005
-
Re: [XOM-interest] Search and replace,
Arjan Huijzer, 04/19/2005
- Re: [XOM-interest] Search and replace, Elliotte Harold, 04/19/2005
-
Re: [XOM-interest] Search and replace,
Arjan Huijzer, 04/19/2005
-
Re: [XOM-interest] Search and replace,
Elliotte Harold, 04/19/2005
Archive powered by MHonArc 2.6.24.