You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Mikel Astiz <ma...@ikasle.ehu.es> on 2006/05/02 09:10:07 UTC

Re: Inserted carriage characters

Yes, you are right. The responsible for the mentioned changes was not Xalan 
but Xerces (with "pretty print"), which is also being used. It was my fault 
to misunderstand the result of the test cases.

Thanks for your answer, David.

Mikel


----- Original Message ----- 
From: <da...@us.ibm.com>
To: <xa...@xml.apache.org>
Sent: Friday, April 28, 2006 4:30 PM
Subject: Re: Inserted carriage characters


> >However, depending on the length of the line, Xalan inserts a carriage
> return after xxxx, and both lines can end up being exactly the same.
> >Is there any way to disable this feature?
>
> To start with, you should have this in your stylesheet:
> <xsl:output indent="no"/>
> but the extra whitespace (of indent="yes") should only occur between tags
> where there would be no text other than whitespace.
> I don't think Xalan does anything "depending on the length of the line",
> so you might want to look at the output in various viewers to see what's
> really there.
> .................David Marston