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

Steven R. Newcomb srn at
Tue Jun 1 23:18:53 BST 1999

> We got stuck. I know the DOM level 1 spec says that editing
> DocumntType nodes is verboten, 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?

Please contact me, if you like, for a demo of GroveMinder, which can
provide access to XML documents, including every aspect of their DTDs,
as if they were SGML documents, according to the ISO-standard SGML
Property Set, which was one of the inputs to the design of the (less
comprehensive) DOM.


Steven R. Newcomb, President, TechnoTeacher, Inc.
srn at

voice: +1 972 231 4098 (at ISOGEN: +1 214 953 0004 x137)
fax    +1 972 994 0087 (at ISOGEN: +1 214 953 3152)

3615 Tanner Lane
Richardson, Texas 75082-2618 USA

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