This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:variables
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xsl:variables
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 21 May 2001 10:13:24 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Erratum E32 to XSLT 1.0 makes it clear that disable-output-escaping should
work in this case: that is, the fact that d-o-e was set should be recorded
with the text node in the result tree fragment, and should be retained when
the RTF is copied to the final output.
So your processor is not implementing this erratum.
But of course, a conformant processor is perfectly entitled to ignore d-o-e
completely.
Mike Kay
Software AG
> -----Original Message-----
> From: Joerg M. Colberg
> Sent: 18 May 2001 21:57
> I have a problem with xsl:variables. Have a look at the
> following two
> snippets of code:
>
> 1) <xsl:variable name="display">
> <xsl:text disable-output-escaping="yes">&laquo;</xsl:text>
> </xsl:variable>
> <xsl:value-of select="$display"/>
>
> 2) <xsl:text disable-output-escaping="yes">&laquo;</xsl:text>
>
> Whereas code 2) results in the output "«", code 1) gives
> "&laquo;".
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list