Produce HTML entities when using XSLTTag(s): XML

You disable the automatic output escaping and use the & entity to build the actual entity.
<P><span style="border-style:solid;border-width:1px;">
   <a href="{link}">
     <xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;rArr;</xsl:text>
        Read the article</a>.
     <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
   </span>
</P>
will produce

 ⇒Read the article


blog comments powered by Disqus


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]