Archive for the ‘XSLT/XSL’ Category

|

Special characters in XSLT

Monday, February 2nd, 2009

Every now and then I find myself on google searching how to use special characters like ‘&laquo’, ‘&raquo’ etc. even though I’ve used is so many times before.


So I decided do make a note of it here for future reference.


To include special characters in XSL / XSLT enclose the characters in a CDATA elements for example:


<xsl:text disable-output-escaping="yes">
   <![CDATA[&amp;amp;laquo;]]>
</xsl:text>



So simple, but yet again so easy to forget.

Posted in XSLT/XSL | No Comments »

|

You are currently browsing the archives for the XSLT/XSL category.

-->