[jdom-interest] getElementById()
Attila Szegedi
szegedia at freemail.hu
Thu Nov 14 01:17:10 PST 2002
Guys,
I'd be pretty happy if JDOM.Document had a getElementById method, much like
DOM and EXML (starting from 6.0) have it.
I'm willing to volunteer and implement it. All it takes is a Map in the
Document to keep the ID mappings as well as the proper bookkeeping of it in
Element methods setParent, setDocument, detach, and setAttribute. No big
deal, really. Finally Jaxen could support the id() function on JDOM
documents as well (this is my primary motivation, actually).
The only question is whether the JDOM coordinators (Jason and Brett) can
imagine this functionality be present in JDOM?
Cheers,
Attila.
--
Attila Szegedi
home: http://www.szegedi.org
More information about the jdom-interest
mailing list