xsl-list
[Top] [All Lists]

RE: [xsl] Escaping of xsl:text in xsl:message

2006-05-20 14:07:51
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(_at_)yahoo(_dot_)fr] 
Sent: 20 May 2006 21:25
To: XSL Mulberry list
Subject: [xsl] 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 préférés : vérifiez vos 
nouveaux mails, lancez vos recherches et suivez l'actualité 
en temps réel. 
Rendez-vous sur http://fr.yahoo.com/set

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>