W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

Re: DOM Level 2 needs getElementById method

From: Paul <prescod@prescod.net>
Date: Fri, 8 Oct 1999 10:57:41 -0400 (EDT)
To: keshlam@us.ibm.com
cc: www-dom@w3.org
Message-ID: <Pine.LNX.3.91.991008093711.4889A-100000@amati.techno.com>
On Thu, 7 Oct 1999 keshlam@us.ibm.com wrote:

> I think it's just a matter of IDs having been considered a DTD issue, and
> DTD/Schema support not yet having been addressed. Everyone's very aware of that
> need.

I don't see how IDs are more of a DTD issue than NOTATIONs.

As far as lookup: element.IDAttribute.referent can be implemented as

document.elements[element.IDAttribute.value] internally.

There is no requirement to maintain two tables except as a performance 
enhancement.

 Paul Prescod
Received on Friday, 8 October 1999 12:15:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT