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


From: <keshlam@us.ibm.com>
Date: Thu, 18 Nov 1999 16:52:27 -0500
To: David Brownell <david-b@pacbell.net>
cc: www-dom@w3.org
Message-ID: <8525682D.00782777.00@D51MTA03.pok.ibm.com>
>There's no way to associate NOTATION or ENTITY nodes with a doctype node.

DocumentType's "entities" and "notations" attributes are NamedNodeMaps. You
can retrieve the appropriate NamedNodeMap, then use its setNamedItem
methods to add one of these definitions.

The real problem is that there's no factory method for NOTATIONs or
ENTITYs. And DOM Level 2 doesn't fix this.

Level 3 will have to, as part of the DTD/Content Model support.

Joe Kesselman  / IBM Research
Received on Thursday, 18 November 1999 16:52:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC