tsd:collation

Purpose

This is an element in the logical subtree of tsd:elementInfo or tsd:attributeInfo. It contains information about properties for the definition of a particular character sorting order (for example, regarding the ordering of umlauts in some languages). The process of arranging elements of a set into a particular order is called collation. This element and its child elements provide special support in TSD for collation-specific aspects. Refer to the collation documentation in the user guide for more information.

Notes:

  1. All unspecified child elements of tsd:collation are set to the default values appropriate to the specified language/locale.
  2. If no tsd:language child element is specified, the default root locale (in which the default Unicode Collation Element Table with no locale-specific tailoring is used in the Unicode Collation Algorithm [UCA]) is used.
  3. It is also possible to specify no child elements at all, i.e. an empty collation element. This can be accomplished by specifying <tsd:collation/>. In this case, the default root locale is used with the default UCA collation attributes.
Parent element tsd:computed, tsd:logical
Child elements tsd:language, tsd:strength,tsd:caseFirst, tsd:alternate,tsd:caseLevel, tsd:french,tsd:normalization
Attributes None
Type xs:complexType

Example

The following example demonstrates the use of the tsd:collation element. It presets the child elements of the tsd:collation element with reasonable values:

<xs:element name = "address">
 <xs:annotation>
  <xs:appinfo>
   <tsd:elementInfo>
    <tsd:logical>
     <tsd:collation>
      <tsd:language value="de"/>
      <tsd:strength value="primary"/>
      <tsd:caseFirst value = "upperFirst"/>
      <tsd:alternate value = "shifted"/>
      <tsd:caseLevel value = "false"/>
      <tsd:french value = "false"/>
      <tsd:normalization value ="false"/>
     </tsd:collation>
    </tsd:logical>
    <tsd:physical>
     <tsd:native>
      <tsd:index>
       <tsd:standard/>
      </tsd:index>
     </tsd:native>
    </tsd:physical>
   </tsd:elementInfo>  
  </xs:appinfo>
 </xs:annotation>
 .
 .
 .
</xs:element>