xml.dom.minidom losing the XML document type attribute
Johannes Bauer
dfnsonfsduifb at gmx.de
Wed Jun 10 11:10:45 EDT 2009
Hello group,
when I read in a XML document with the xml.dom.minidom parser and write
it out again, an attribute is lost:
Input:
<?xml version="1.0" encoding="utf-8" ?>
[...]
Output:
<?xml version="1.0" ?>
How can I fix this? Python is Python 3.0rc2 (r30rc2:67114, Nov 16 2008,
15:24:36)
Kind regards,
Johannes
--
"Meine Gegenklage gegen dich lautet dann auf bewusste Verlogenheit,
verlästerung von Gott, Bibel und mir und bewusster Blasphemie."
-- Prophet und Visionär Hans Joss aka HJP in de.sci.physik
<48d8bf1d$0$7510$5402220f at news.sunrise.ch>
More information about the Python-list
mailing list