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] |
Hello All,
Thanks, Mike, for the reply. I had, in fact,
tried the entity ref but in the process of changing my code, I accidentally
removed one of translate's other arguments. The parser complained and I
too hastily gave up.
I've since tried your example and it works
fine. I also tried by way of a simple test:
<xsl:value-of select="./@RSRC[translate('a', 'a', '�')]" /> and it fails (raises IE5.5 catch-all type error message). But if I change the numeric entity to , it works. Something special about null character? Thanks again, Paul
> Since an XML parser will resolve character references before the
stylesheet
> tree is built, you should be able to put any Unicode characters in the > arguments to the translate() function. For example, > translate($someString,'abcde','ABCDE') is the same as > ($someString,'abcde','ABCDE'). |
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |