Message185408
minidom may be broken, but what's the issue with ElementTree?
>>> import xml.etree.cElementTree as etree
>>> doc = etree.fromstring('<xml />')
>>> doc.set('attr', "multiline\nvalue")
>>> etree.tostring(doc)
'<xml attr="multiline value" />' |
|
Date |
User |
Action |
Args |
2013-03-28 09:47:39 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, effbot, ajaksu2, piro, ezio.melotti, sayap, Tomalak, devon, labrat, moriyoshi, BreamoreBoy, gauges, Jens.Grivolla |
2013-03-28 09:47:39 | amaury.forgeotdarc | set | messageid: <1364464059.65.0.268400557361.issue5752@psf.upfronthosting.co.za> |
2013-03-28 09:47:39 | amaury.forgeotdarc | link | issue5752 messages |
2013-03-28 09:47:39 | amaury.forgeotdarc | create | |
|