[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

characters in question

Subject: characters in question
From: "Jennifer Hochgesang" <jenniferh@xxxxxxxxxxxxxx>
Date: Wed, 15 Aug 2001 11:00:05 -0500
bullet in xsl
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.