Skip to content

Instantly share code, notes, and snippets.

@arcusfelis
Created August 25, 2011 17:46
Show Gist options
  • Save arcusfelis/1171271 to your computer and use it in GitHub Desktop.
Save arcusfelis/1171271 to your computer and use it in GitHub Desktop.
CLDR Collation XSD
<xs:element name="collation">
<xs:complexType>
<xs:choice>
<xs:element ref="alias"/>
<xs:sequence>
<xs:element minOccurs="0" ref="base"/>
<xs:element minOccurs="0" ref="settings"/>
<xs:element minOccurs="0" ref="suppress_contractions"/>
<xs:element minOccurs="0" ref="optimize"/>
<xs:element minOccurs="0" ref="rules"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="special"/>
</xs:sequence>
</xs:choice>
<xs:attribute name="type" default="standard" type="xs:NMTOKEN"/>
<xs:attribute name="draft">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="approved"/>
<xs:enumeration value="contributed"/>
<xs:enumeration value="provisional"/>
<xs:enumeration value="unconfirmed"/>
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="standard"/>
<xs:attribute name="references"/>
<xs:attribute name="alt" type="xs:NMTOKENS"/>
<xs:attribute name="validSubLocales"/>
</xs:complexType>
</xs:element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment