RE: [xsl] white space removal

Subject: RE: [xsl] white space removal
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 30 Jul 2001 11:35:00 +0100
> This sheet is quite long, so for the sake of clarity, the XSL code is
> indented. The problem is that all the tabs and carriage
> returns that are
> in the XSL code are "copied" in the RTF output. This is something I do
> not want.

Only those that are in the same text node as a non-whitespace character will
be copied.

The solution is to wrap all significant text (that you do want output) in
<xsl:text> elements.

Mike Kay
Software AG

 XSL-List info and archive:

Current Thread