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

RE: RE: Saxon's handling of line breaks

Subject: RE: RE: Saxon's handling of line breaks
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 7 May 2002 09:05:48 +0100
handling strings without line breaks
> However, I think he spoke a little hastily in each of these
> two sentences:
>
> > The XSLT specification doesn't give the
> > processor license to do anything else.
>
> No, the XSLT specification doesn't forbid outputting CR, LF,
> or CRLF; any of
> these is fine, because they will all be interpreted the same by an XML
> parser.

We were talking about <xsl:output method="text"/>. The spec says that this
outputs the string-value of every text node in the result tree without any
escaping. I don't see any licence there to translate LF to CRLF.
>
> > If you want to output CRLF, you must do it
> > explicitly, by
> > writing <xsl:text>
> > </xsl:text>.
>
The character references & # x d ; & # x a; got lost in transit.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


 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.