xsl-list
[Top] [All Lists]

RE: [XSLT] xsl:message output encoding ?

2005-04-21 12:05:44
I don't think that using the same format as the principal 
output makes very
much sense - why should it be the same? However, I can see 
an argument for
providing some control. Some people only ever use 
xsl:message for simple
text messages, in which case escaping < and > doesn't make 
much sense; but
if you use it to output chunks of XML, like

<xsl:message>Value of $tree: <xsl:copy-of 
select="$tree"/></xsl:message>

then using the XML output method makes much more sense.

Exactly.  Is there any way to achieve that in XSLT 2.0?


XSLT 2.0 provides no more control over the format or destination of
xsl:message output than XSLT 1.0 did. It's all implementation-defined. Saxon
provides you with some control, but only if you're prepared to do some Java
coding.

Michael Kay
http://www.saxonica.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>