Comment 3 for bug 910018

Revision history for this message
Valentin Lab (vaab) wrote :

I must agree that it's quite complicated to have xml pretty printed thanks to lxml. And that's a shame. Even objectify will have cases where some subelement won't be prettified. Sadly, the best solution for me is to pipe result in xmllint --format.

I understand the fact unveilled in the FAQ, but it seems quite obvious for me that you won't use the pretty_print fonctionality if space are meaningfull for you.