W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

Re: Creating <!DOCTYPE programmatically

From: Elena Litani <elitani@ca.ibm.com>
Date: Thu, 09 May 2002 16:25:13 -0400
Message-ID: <3CDADB29.5429168F@ca.ibm.com>
To: www-dom@w3.org
Joseph Kesselman wrote:
> DOM3 was considering allowing later binding of the DocumentType node to the
> Document; I'm not sure what the current status of that proposal is.

DOM Level 3 allows the doctype node to be changed:

It is also implemented in Xerces2: the latest code from CVS will allow
you to remove/add doctype.

For more information see the "how to modify DOCTYPE node in an existing
document?" thread in xerces-j-user list:

Elena Litani / IBM Toronto
Received on Thursday, 9 May 2002 16:27:13 UTC

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