[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

translate() headache

Subject: translate() headache
From: "Bruce Long (c)" <blong@xxxxxxxxxxx>
Date: Wed, 9 Aug 2000 06:07:31 -0400
headache translate
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.