This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
translate() headache
- To: "Xmlxslt-Devel (E-mail)" <xmlxslt-devel at lists dot sourceforge dot net>, "Xsl-List (E-mail)" <xsl-list at mulberrytech dot com>
- Subject: translate() headache
- From: "Bruce Long (c)" <blong at sapient dot com>
- Date: Wed, 9 Aug 2000 06:07:31 -0400
- Reply-To: xsl-list at mulberrytech dot com
Hi All,
Can anyone explain why, when I use
<xsl:variable name="filteredparagraph" select="translate($paragraphstring,
'‘' , ' ' )"/>
on a text node that looks like:
<body_text_paragraph>can obtain a ‘safety net’ letter from the
</body_text_paragraph>
Xalan translates the output thus:
can obtain a
It truncates the text at the first occurance of the unicode string? Why?
Thanks,
Bruce
Bruce Long (c)
Sapient | Architects for the New Economy
Level 13, 60 Castlereagh Street Phone: +612 9210.2067
Sydney, NSW 2000 Fax: +612 9210.2500
Australia
Email: <blong@sapient.com>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list