How to create a new document with a DocumentType node (DTD)

Ed Howland Ed at
Tue May 25 21:48:29 BST 1999

We got stuck. I know the DOM level 1 spec says that editing DocumntType
nodes is verbotten, but can't you create one somehow for new documents. What
if you are writing an up translator, say from a database and want to make it
a valid document, by including either a DTD URI or the complete DOCTYPE
entry. What are we missing here?



Ed Howland
ed at
Alpha Geek
They didn't put the "." in dot com!

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list