[jdom-interest] Regarding XPath

bob mcwhirter bob at werken.com
Wed Apr 18 11:05:23 PDT 2001

On Tue, 17 Apr 2001, Soumen Das Das wrote:

> See the main problem of using xml file as configuration file is that,
> for every data value pair that I need, I've to load the whole xml file
> and then by using XPath I've to iterate. And XPath only takes Document
> as argument.

Just a clarification....

werken.xpath, at least, takes a context as an argument, not just a 
Document.  A Document can be the context, as well as any Element, or
a List of Elements.  


More information about the jdom-interest mailing list