|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: encoding and XSL Transformation
Chuck White wrote: > Unicode has solved the world's problems, but it hasn't removed legacy > software from users' systems yet. The bottom line on the original poster's > question is that before the document is brought in as an XML document he > needs to convert the single quote to the Unicode representation for that > single quote, which is not \u0092 or ’., but for XML purposes, either > ’ in hex or ’ in decimal format, hence the need for the kind of > link I indicated that references this kind of thing, or for apps like > Unipad. It wouldn't necessarily have to be before. <xsl:template match="text()"> <xsl:value-of select="translate(., '€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ', '€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ')"/> </xsl:template> - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








