The <collations> element
The collations
element in the configuration file defines a number of collations that can be preloaded into the configuration. It
contains zero or more child collation
elements as detailed below.
Each collation
element may have the following attributes:
Attribute |
Applies to |
Values |
Effect |
|
HE PE EE |
The collation URI (mandatory) |
An absolute URI used to identify the collation in queries and stylesheets. |
|
HE PE EE |
yes|no|codepoint |
Yes indicates that a sequence of digits within a string is read as a number, for example "test8.xml" precedes "test10.xml". |
|
HE PE EE |
upper-first|lower-first|#default |
Indicates whether upper-case characters should precede or follow their lower-case equivalents. |
|
HE PE EE |
Java class implementing |
Class used to perform string comparisons. |
|
HE PE EE |
none|standard|full |
Determines whether Unicode normalization should be applied to strings before comparison (Java platform only). |
|
HE PE EE |
yes|no |
Yes indicates that upper-case and lower-case are equivalent. |
|
HE PE EE |
yes|no |
Yes indicates that accents and other modifiers are ignored. |
|
HE PE EE |
yes|no |
Yes indicates that punctuation symbols are ignored (.NET only). |
|
HE PE EE |
yes|no |
Yes indicates that width variations between characters are ignored. |
|
HE PE EE |
Language code, e.g. |
Language supported by the collation. |
|
HE PE EE |
Rules in Java |
Detailed rules for ordering of characters. |
|
HE PE EE |
primary|secondary|tertiary|identical |
The strength of the collation. A stronger collation takes more details of the character into account, e.g. accents and case. |