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

RE: Escaping of xsl:text in xsl:message

Subject: RE: Escaping of xsl:text in xsl:message
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 20 May 2006 21:49:06 +0100
xsl message in xslt20
If in doubt, read the spec:

http://www.w3.org/TR/xslt20/#message

"The xsl:message instruction causes the creation of a new document, which is
typically serialized and output to an implementation-defined destination."

The output of xsl:message is XML, which is then serialized. This is why
special characters such as < and & are escaped.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Florent Georges [mailto:darkman_spam@xxxxxxxx]
> Sent: 20 May 2006 21:25
> To: XSL Mulberry list
> Subject:  Escaping of xsl:text in xsl:message
>
>   Hi
>
>   With Saxon 8.7.1j, the following code:
>
>     <xsl:message>
>       <xsl:text> -> </xsl:text>
>     </xsl:message>
>
> results to the following text being outputed to the standard output:
>
>     - & g t ;
>
> (with the entity ref letters space-separated to be sure to
> pass the mail systems).
>
>   Is it expected?  If it is, why?  Is it
> implementation-dependant?  If it is, do you expect that such
> escaping occurs within xsl:message?
>
>   Regards,
>
> --drkm
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ______________________________________________________________
> _____________
> Faites de Yahoo! votre page d'accueil sur le web pour
> retrouver directement vos services prifiris : virifiez vos
> nouveaux mails, lancez vos recherches et suivez l'actualiti
> en temps riel.
> Rendez-vous sur http://fr.yahoo.com/set

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-2011 All Rights Reserved.