xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] How do I get the names of child elements or nodes
- From: Fred Vos <fred AT fredvos.org>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] How do I get the names of child elements or nodes
- Date: Thu, 3 Sep 2009 21:47:15 +0200
On Wed, Sep 02, 2009 at 05:24:26PM -0400, Putnam, Denis wrote:
> Is there an equivalent method to Element.getValue() to get the names of
> the child elements?
With http://www.xom.nu/apidocs/nu/xom/Element.html#getChildElements()
you can get a list of child elements of an element and with
http://www.xom.nu/apidocs/nu/xom/Element.html#getLocalName() or
getQualifiedName() you can retrieve their names.
Best regards,
Fred
-
[XOM-interest] How do I get the names of child elements or nodes,
Putnam, Denis, 09/02/2009
- Re: [XOM-interest] How do I get the names of child elements or nodes, Fred Vos, 09/03/2009
Archive powered by MHonArc 2.6.24.