You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Steve Fisher <S....@rl.ac.uk> on 2000/02/01 16:33:27 UTC

Using xalan as pretty printer

I wanted to beautify my XML which I had hoped to do with:


<xsl:template match="@*|node()">
  <xsl:copy>
    <xsl:apply-templates select="@*|node()"/>
  </xsl:copy>
</xsl:template>

<xsl:output indent="yes"/>

and then specifying -indent 4 to xalan

xalan output was identical to the input and not reformatted - is this
expected?

Steve