translate() headache

Subject: translate() headache
From: "Bruce Long (c)" <blong@xxxxxxxxxxx>
Date: Wed, 9 Aug 2000 06:07:31 -0400
Hi All,

Can anyone explain why, when I use 

<xsl:variable name="filteredparagraph" select="translate($paragraphstring,
'&#8216;' , ' ' )"/>

on a text node that looks like:

<body_text_paragraph>can obtain  a &#8216;safety net&#8217; 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@xxxxxxxxxxx>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread