xsltproc indent.xsl input.xml | expand > output.xml

but it is a minor thing