Minidom has better prettification than lxml.