[jdom-interest] Element Reference from Attribute

Jason Hunter jhunter at collab.net
Fri Nov 17 10:16:00 PST 2000


bob mcwhirter wrote:
> 
> > That is, how is it that one can be navigating from an Attribute 
> > with no knowledge of the Element with said Attribute?
> 
> Using my XPath library, for one.

Yep, Bob's killer use case is why giving attribs knowledge of their
parent element is a TODO item.

I don't have Comment, PI, etc as needing the enhancement.  Bob, what's
your strategy there?  (I'm worried about memory consumption again if all
nodes of the document have to be doubly-linked.)

-jh-





More information about the jdom-interest mailing list