Tuning xsl:sort with parameters
Added by Anonymous over 15 years ago
Legacy ID: #7492523 Legacy Poster: Wolfgang Schindler (ponsdv)
xsl:sort may be adapted to the rules of a specific language via the lang-attribute. This is based on Java language resource bundles. If you want to adapt the sorting algorithm to your purposes, you will have to edit or change a Java RuleBasedCollator class. Is there an easy way to adapt the sorting algorithm via external parameters or a config file or anything of that kind without changing Java classes? Is it for example possible to exclude dots (often used in abbreviations) from being relevant in sorting? I'm using Saxon 9.1.0.5J as XSLT engine.
Replies (2)
RE: Tuning xsl:sort with parameters - Added by Anonymous over 15 years ago
Legacy ID: #7493794 Legacy Poster: Michael Kay (mhkay)
Please see this thread: http://markmail.org/thread/b3woj734gvruznm7
RE: Tuning xsl:sort with parameters - Added by Anonymous over 15 years ago
Legacy ID: #7498406 Legacy Poster: Wolfgang Schindler (ponsdv)
Many thanks for your kind assistance which is has proven to be very helpful for me! The shortcut for ignoring the dot was my most urgent issue which is now settled. But I will consult the other information as well in more detail.
Please register to reply