Re: [xsl] translating character references

Subject: Re: [xsl] translating character references
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 5 Feb 2009 11:21:12 GMT
I wrote:

>  select="translate(.,'&#x03d5&#x03c6','&#x03c6;&#x03d5;')"/>

>  again each of the 2nd and 3rd arguments to translate in tehabove line is
>  a string of length 2, not a string of length 16.

unless of course you omit the ";" in which case it makes your stylesheet
non-well formed.

Try


  select="translate(.,'&#x03d5;&#x03c6;','&#x03c6;&#x03d5;')"/>

David




________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread