[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: Sun, 21 May 2006 09:53:52 +0100
RE:  Escaping of xsl:text in xsl:message
The processor is always at liberty to ignore disable-output-escaping. Saxon
uses a very simple serializer configuration for xsl:message. I wasn't
actually aware this would take no account of d-o-e, but it doesn't greatly
surprise me.

If you care about these things you can plug in your own MessageEmitter to
handle all aspects of xsl:message formatting and routing.

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

> -----Original Message-----
> From: Florent Georges [mailto:darkman_spam@xxxxxxxx]
> Sent: 21 May 2006 00:48
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Escaping of xsl:text in xsl:message
>
> Michael Kay wrote:
>
> > If in doubt, read the spec:
>
>   Yes, I don't know why I didn't think that myself.  Thanks
> for the exerpt.  But with the following script:
>
>     <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                    version="2.0">
>
>       <xsl:template match="/">
>         <xsl:message>
>           <xsl:text disable-output-escaping="yes"> -> </xsl:text>
>         </xsl:message>
>       </xsl:template>
>
>     </xsl:transform>
>
> the '>' must not be escaped, right?  I wonder if it is the
> case, 'cause Saxon 8.7.1j escapes it.
>
>   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-2013 All Rights Reserved.