DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30622>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30622

xsl:output method="xml" indent="yes" not working as expected.





------- Additional Comments From [EMAIL PROTECTED]  2004-08-12 16:40 -------
Probably working as designed.

Copied stuff is undoubtedly including whitespace from the source document rather
than being indented by Xalan.

Xalan-generated indentation defaults to line-break only. To actually indent, you
need to specify how much indentation should occur per level, by adding the
attribute xalan:indent-amount="5" (or however much) to your <xsl:output> directive.

(Yes, there have been extensive arguments about whether 0 is the best default.
No, I don't think it is. We can bring it up on the mailing list again and see if
anyone has changed their minds...)

This really should be added to our FAQ page!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to