This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: white space removal
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] white space removal
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 30 Jul 2001 11:35:00 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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: http://www.mulberrytech.com/xsl/xsl-list