This rule converts the specified characters in the input string to a new set of characters, typically converting from one alphabet to another by adding or removing diacritical marks. The syntax for transliterate is:
<transliterate from="existing_char" to="new_char"/> |
The parameters for transliterate are:
from – The characters that exist in the input string that need to be transliterated.
to – The characters that will replace the above characters.
The following sample converts lower case vowels with acute accents to vowels with no accents.
<transliterate from="áéíóú" to="aeiou"/> |