This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

characters in question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]