[jdom-interest] Element Reference from Attribute

bob mcwhirter bob at werken.com
Fri Nov 17 10:54:10 PST 2000

> I guess I'm just dense. Does XPath actually require that one can get Elements 
> after searching for Attributes? It still seems to me that this is convenience
> since XPath is supposedly returning a List of Elements or Attributes and
> after that it is user-code that wants this feature, not XPath per se. Just
> because user-code wants to use

No, XPath doesn't require that a user can find the Element parent of
a returned Attribute.  But it sure does sound useful to me, personally.

Anyhow, I'll stop arguing this point.


More information about the jdom-interest mailing list