Skip to content

xml

echo test.xml | xmllint --format -
xmllint --format test.xml

remove null character

cat file.xml | tr -d '\000' | xmllint --format -