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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14229

XSLTC indents as if indent always set to yes





------- Additional Comments From [EMAIL PROTECTED]  2002-11-04 19:49 -------
>Where are you setting indent="no"? ... you should add:
> <xsl:output ... indent="no" ... />
Yes, I've done this. I've also tried setting it in Java directly on the 
Transformer. I've even done this:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" 
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:xalan="http://xml.apache.org/xslt";>
                
  <xsl:output method="xml" 
              encoding="UTF-8"
              indent="yes" 
              xalan:indent-amount="25"/>

Note the indent amount of 25. It has no effect (on XSLTC but does on Xalan).

>My guess is that Xalan classic is also indenting your output by adding "\n" 
>chars (or else the output should be all in one line).

The output from Xalan is consistent with the whitespace in my stylesheet. The 
original example above (the <td> set) outputs on one line since it is on one 
line in the XSL file.

Reply via email to