This doesn't really have much to do with lxml.
http://lxml.de/FAQ.html#why-doesn-t-the-pretty-print-option-reformat-my-xml-output
I'm inclined to close this as "won't fix". While lxml could potentially influence the heuristic here, I don't think there is a right way to do it.
This doesn't really have much to do with lxml.
http:// lxml.de/ FAQ.html# why-doesn- t-the-pretty- print-option- reformat- my-xml- output
I'm inclined to close this as "won't fix". While lxml could potentially influence the heuristic here, I don't think there is a right way to do it.