This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Xalan: formatted output
- To: xsl-list at mulberrytech dot com
- Subject: Re: Xalan: formatted output
- From: Gary L Peskin <garyp at firstech dot com>
- Date: Fri, 27 Oct 2000 10:08:54 -0700
- Organization: The Firstech Corporation
- References: <39F957D5.D41AB772@web.de>
- Reply-To: xsl-list at mulberrytech dot com
"Matthias O. Will" wrote:
>
> Hi,
>
> I am using Xalan-Java 2 to transform one XML file into another. Works
> fine, except for the problem that with the current version of Xalan, I
> am not getting my output with identation, although my XSL file says:
>
> <xsl:output method="xml" encoding="ISO-8859-1" indent="yes"
> doctype-system="http://www.dlmeta.de/dlmeta/2000/DLmeta.dtd"/>
>
> Whose fault is it? Mine or Xalan's?
>
Matt --
From http://xml.apache.org/xalan-j/readme.html
"Indenting in the output is turned off for a significant performance
gain. To enable indenting, you must reset _indentAmount from 0 to the
value you want in org.apache.serialize.OutputFormat and rebuild
xalan.jar."
If you have additional questions on this, I'd take it over to the Xalan
list: xalan-dev@xml.apache.org (if you want to subscribe, send an email
with no subject or body to xalan-dev-subscribe@xml.apache.org).
Gary
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list