indent not working?

Vince <[email protected]> Wed, 10 Mar 2010 16:18:14 -0500
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <[email protected]>
Hi

I'm using xalan 2.7.1 and I'm not able to translate with indentation.

My xsl contains the following header:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:redirect="http://xml.apache.org/xalan/redirect"
    extension-element-prefixes="redirect"
    xmlns:xalan="http://xml.apache.org/xalan">

<xsl:output method="text" indent="yes" xalan:indent-amount="4"/>


And the output is not indented.

Anyone with ideas?