Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Node empty or not.

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: "Jason C. Leach" <jleach AT ocis.net>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Node empty or not.
  • Date: Wed, 18 Jun 2003 14:45:35 -0400

Jason C. Leach scripsit:

> Is there a quick way to determine if a node is empty or not, like:
>
> empty node is <cn/>
>
> not empty is <cn>jason</cn>

anElement.getChildCount() == 0 means empty.

--
They do not preach John Cowan
that their God will rouse them jcowan AT reutershealth.com
A little before the nuts work loose. http://www.ccil.org/~cowan
They do not teach http://www.reutershealth.com
that His Pity allows them --Rudyard Kipling,
to drop their job when they damn-well choose. "The Sons of Martha"




Archive powered by MHonArc 2.6.24.

Top of Page