Subject: Re: [xsl] replace() and translate() second try|
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 03 Jun 2011 08:05:08 +0100
I see that my previous message got rather garbled. Here's a simplified version of the question. Assume we have an XSLT transform with something like
translate(string, 'abcd', 'ABCD')
Obviously 'a' gets replaced with 'A', 'b' with 'B', etc.
Should this still work if the 'abcd' is replace by a string of 4 Unicode _supplementary_ characters? That is, does translate() work with Characters (including supplementary characters) or just chars?
Michael Kay Saxonica