elt.getChildElement("childname") == null
That's the new method name from CVS. It was getChild() before I think.
-jh-
Peterson, Nathan wrote:
> I'm just wondering if there is a easier way to check if Named Children /
> Attributes exists than executing a try/catch statement? something line
> (boolean)Element.childExists("<childname>") or
> (boolean)Element.attributeExists("<attribute>")?
>
> ##########################################################
> Nathan Peterson Phone: (515)-232-2161 x 271
> Systems Administrator Help Desk: (515)-232-2161 x275
> Iowa Newspapers, Inc npeterson@(protected)
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)
>
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)