Showing:

Annotations
Diagrams
Facets
Source
Simple Type LanguageCodePattern
Namespace No namespace
Annotations
A pattern for languages ss-CC
Diagram
Diagram
Type restriction of xs:language
Facets
pattern ([a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*) & ([a-z][a-z]-[A-Z][A-Z])
Source
<xs:simpleType name="LanguageCodePattern">
  <xs:annotation>
    <xs:documentation xml:lang="en-US">A pattern for languages ss-CC</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:language">
    <xs:pattern value="[a-z][a-z]-[A-Z][A-Z]">
      <xs:annotation>
        <xs:documentation xml:lang="en-US">other</xs:documentation>
      </xs:annotation>
    </xs:pattern>
  </xs:restriction>
</xs:simpleType>