[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: grouping headers

Subject: Re: grouping headers
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Aug 2001 10:48:01 +0100
corey tennison
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 &lt; and &amp;) 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>&#xA;</xsl:text><!-- hard return to make it look pretty -->

or:

  <xsl:text>&#10;</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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.