xml.dom.minidom - bug ? future ?

"Martin v. Löwis" martin at v.loewis.de
Thu Sep 4 21:53:18 CEST 2003

Roman Yakovenko wrote:

> 	Hi. What I don't understand is why I dump to xml string that contains
> new - lines and when I read it from xml new lines replaced by spaces. 
> May be I do something wrong?

You should not use new line characters in attribute values. According to 
the XML specification, the XML processor must replace them with white 
space, see



More information about the Python-list mailing list