[xsl] characters in question

Subject: [xsl] characters in question
From: "Jennifer Hochgesang" <jenniferh@xxxxxxxxxxxxxx>
Date: Wed, 15 Aug 2001 11:00:05 -0500
I have come up with this very inefficient workaround to output special
characters from xml documents to htm docs. The main issue is that our
special characters will and can appear in any element so I can not isolate
them within the xsl. Can someone instruct me on a better solution for this-
I don't think our writers are going to enjoy having to remember both a
specific tag as well as a numeric equivalent for special characters.

Thanks,
jen


XML example-

<bullet>You learned about the variety of checking products offered by bank1
and bank2<copyright>#169;</copyright>.</bullet>

XSL-

<xsl:template match="copyright">
<xsl:text disable-output-escapign="yes">&amp;</xsl:text>
<xsl:apply-templates />
</xsl:template>





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread