Message324098
A few more thoughts for consideration:
* We already have a toprettyxml() tool in the minidom package.
* Since whitespace is significant in XML, prettifying changes the content and meaning, so it doesn't round-trip and should only be used for debugging purposes.
* Usually, I recommend using XML viewers such as the one built into the Chrome browser. That provides indentation without changing meaning. It also lets you run searches and conveniently supports folding and unfolding elements. I would rather someone use a viewer rather than something like toprettyxml(). |
|
Date |
User |
Action |
Args |
2018-08-25 20:00:03 | rhettinger | set | recipients:
+ rhettinger, loewis, scoder, vstinner, mcepl, eric.araujo, eli.bendersky, santoso.wijaya, tshepang, eric.snow, martin.panter, serhiy.storchaka, alex.henderson, wolma, alex.dzyoba |
2018-08-25 20:00:03 | rhettinger | set | messageid: <1535227203.67.0.56676864532.issue14465@psf.upfronthosting.co.za> |
2018-08-25 20:00:03 | rhettinger | link | issue14465 messages |
2018-08-25 20:00:03 | rhettinger | create | |
|