title: How can I get xslt to indent xml (from Ant)?
body: <p>From what I understand having looked around for an answer to this the following should work:</p>
  
  <pre><code>&lt;xslt basedir="..." destdir="..." style="xslt-stylesheet.xsd" extension=".xml"/&gt;
  </code></pre>
  
  <p>Where xslt-stylesheet.xsd contains the following:</p>
  
  <pre><code>&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
      &lt;xsl:output method="xml" indent="yes"/&gt;
      &lt;xsl:strip-space elements="*"/&gt;
      &lt;xsl:template match="/"&gt;
          &lt;xsl:copy-of select="."/&gt;
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Unfortunately while most formatting is applied (spaces are stripped, newlines entered, etc.), indentation is not and every element is along the left side in the file. Is this an issue with the xslt processor Ant uses, or am I doing something wrong? (Using Ant 1.8.2).</p>