[jdom-interest] Convenience method for deep Element structures

Aleksi Kallio aleksi.kallio at infomates.net
Thu Jul 13 03:21:51 PDT 2000


> > How about providing a method such as:
> > doc.getNestedElement("settings/database/admin/password")
>That's XPath!  Well, that's the tip of the iceburg of XPath.

Yes I know it is in "the spirit of XPath/XQL".

But you're right, it's better for me to do what I first intended and build 
a convenience wrapper for Document. I also prefer small and compact APIs.




More information about the jdom-interest mailing list