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