|
Subject: Re: [xsl] Using HTML entity codes within XSL? From: "Christopher P. Wang" <cpwang@xxxxxxxxxx> Date: Wed, 18 Dec 2002 17:06:04 -0500 |
Rich,
I believe you could try something like
<xsl:text
disable-output-escaping="yes"><![CDATA[ ]]></xsl:text>
So in your case, you could do:
<xsl:template match="/">
<html>
<body>
<xsl:text
disable-output-escaping="yes"><![CDATA[£]]></xsl:text>
<xsl:value-of select="data/premiumAmount" />
</body>
</html>
</xsl:template>
You can think of it as outputting the entity to your result, which would
be your HTML document, but disabling it at the time of the XSLT
processing.
Regards,
Chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Using HTML entity codes w, Passin, Tom | Thread | Re: [xsl] Using HTML entity codes w, David Carlisle |
| RE: [xsl] [XSL] extracting a verse, Wendell Piez | Date | [xsl] How do I preserve a &#xnnnn; , Graham Hannington |
| Month |