Subject: Re: [xsl] encoding and XSL Transformation From: Mike Brown <mike@xxxxxxxx> Date: Wed, 11 Sep 2002 14:54:16 -0600 (MDT) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] encoding and XSL Transfor, Chuck White | Thread | Re: [xsl] encoding and XSL Transfor, Chuck White |
Re: [xsl] Getting desired node on t, J.Pietschmann | Date | [xsl] performance with template and, Kimberly Hahn |
Month |