Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] Child / attribute checking

Peterson, Nathan

2003-10-31

Replies:

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)


©2008 junlu.com - Jax Systems, LLC, U.S.A.