This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

translate() headache


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@sapient.com>


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]