[jdom-interest] Child / attribute checking

Peterson, Nathan nathan.peterson at amestrib.com
Fri Oct 31 08:33:09 PST 2003


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 at amestrib.com 



More information about the jdom-interest mailing list