Use xmllint instead of python xml.toPrettyPrint