<?standalone yes?>

Andrew Clover and-google at doxdesk.com
Tue Sep 23 09:31:38 CEST 2003

Lonnie, SRC employee <lonnies at tgf.tc.faa.gov> wrote:

> I can figure out how to set the standalone attribute in the <? xml
> version="1.0 ?> tag eg <?xml version="1.0" standalone="yes" ?>

To set this in DOM terms you would need to use the DOM Level 3 Core
property 'xmlStandalone' on the Document object, see:


However, DOM3 is still in Working Draft (though hopefully not for
much longer), and it's not yet supported by minidom. If you don't mind
trying a different DOM implementation, this one supports it:


Andrew Clover
mailto:and at doxdesk.com

More information about the Python-list mailing list