xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Fwd: ParentNode::getChildCount()
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: David Ondzes <dao AT pobox.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Fwd: ParentNode::getChildCount()
- Date: Mon, 05 Mar 2007 18:14:51 -0500
David Ondzes wrote:
When I get child count of 1 for foo how can i determine if my xml was
<foo>
</foo>
or
<foo><bar></bar></foo>
You have to look and see what the child is. getChildCount just tells you the number, not the type or the name.
--
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] ParentNode::getChildCount(),
David Ondzes, 03/05/2007
-
Re: [XOM-interest] ParentNode::getChildCount(),
Elliotte Harold, 03/05/2007
-
Re: [XOM-interest] ParentNode::getChildCount(),
David Ondzes, 03/05/2007
-
Re: [XOM-interest] ParentNode::getChildCount(),
Elliotte Harold, 03/05/2007
- Re: [XOM-interest] ParentNode::getChildCount(), David Ondzes, 03/05/2007
-
[XOM-interest] Fwd: ParentNode::getChildCount(),
David Ondzes, 03/05/2007
- Re: [XOM-interest] Fwd: ParentNode::getChildCount(), Elliotte Harold, 03/05/2007
-
Re: [XOM-interest] ParentNode::getChildCount(),
Elliotte Harold, 03/05/2007
-
Re: [XOM-interest] ParentNode::getChildCount(),
David Ondzes, 03/05/2007
-
Re: [XOM-interest] ParentNode::getChildCount(),
Elliotte Harold, 03/05/2007
Archive powered by MHonArc 2.6.24.