Subject: Re: grouping headers
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Aug 2001 10:48:01 +0100
|
Hi Corey,
Just a quick thing - you're using disable-output-escaping where you
don't need to, i.e.:
> <xsl:text disable-output-escaping="yes">
> </xsl:text> <!-- hard return to make it look pretty -->
Disable-output-escaping disables output escaping - it stops < and &
signs from being escaped (as < and &) when they're serialised
in the output. It will only have an effect on characters that are
escaped when they're output; line breaks are not one of these
characters, so the above is exactly the same as:
<xsl:text>
</xsl:text><!-- hard return to make it look pretty -->
The other thing that I find makes this look neater is to use a
character reference for the line break rather than the character
itself. The above is exactly the same as:
<xsl:text>
</xsl:text><!-- hard return to make it look pretty -->
or:
<xsl:text> </xsl:text><!-- hard return to make it look pretty -->
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
Jeroen Janssen - Thu, 23 Aug 2001 17:33:01 -0400 (EDT)
- Corey Spitzer - Thu, 23 Aug 2001 18:25:27 -0400 (EDT)
- Jeni Tennison - Fri, 24 Aug 2001 05:55:03 -0400 (EDT) <=
- Jeni Tennison - Fri, 24 Aug 2001 05:49:44 -0400 (EDT)
Friedlander, Hal - Fri, 24 Aug 2001 12:03:47 -0400 (EDT)
|
|