Use custom collations in XSLT 2.0
One emphasis of XSLT 2.0 is better support for internationalization, especially sorting and comparing text. This seemingly simple task is quite complicated in some languages; for example, accented characters can be considered the same or different depending on context. Are Á , À and A the same letter? Sometimes the answer needs to be yes, despite the fact that they are three different code points. The simple string comparison functions found in most languages (including XSLT 1.0) aren't up to the task. This article demonstrates how to write a custom collation function and invoke it from an XSLT 2.0 stylesheet.
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.