echo 'lorem' | xmllint --format - Resultado: lorem