[XML-SIG] Problem using schema instead of DTD

Andrew Clover and-xml at doxdesk.com
Fri Jan 14 20:53:46 CET 2005

Tim van Erven <tve at vormig.net> wrote:

> In the process a doctype is added automatically.

Yeah, 4DOM will do that. A null doctype is added at parse-time, for some 

You can throw the doctype node out after parsing or before printing:

   if document.doctype is not None:

or use one of the other DOM libraries that does not exhibit this behaviour.

Andrew Clover
mailto:and at doxdesk.com

More information about the XML-SIG mailing list