Yes, this is possible with DOM Level 3 [1]. You need the DOM Level 3 build of Xerces-J to get at this functionality.
[1] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-ElSetIdAttrNS "Dave Brosius" <[EMAIL PROTECTED]> wrote on 03/20/2005 08:20:59 PM: > I am building an in memory DOM document, that I would like to attach > ID attributes to, and then in the same session search for elements > by those ids (getElementById). > > I see CoreDocumentImpl has the concept of putIdentifier and > getIdentifier for this purpose, but was wondering if there was a > standardized way to to this > without relying on the impl classes. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
