This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Xalan: formatted output


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]