<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
  xmlns="http://www.w3.org/2001/XMLSchema"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:xhtml="...http://www.w3.org/1999/xhtml...">
  targetNamespace="...namespace for ISO 3166 code list module..."
  xmlns:iso3166="...namespace for ISO 3166 code list module...">
  <xs:annotation>
    <xs:documentation>
This code list module template corresponds to draft 01 of the
OASIS UBL NDR code list rules document (wd-ublndrsc-codelist-01).
See that document for information on how to use this template:
http://www.oasis-open.org/committees/ubl/ndrsc/archive/.
    </xs:documentation>
  </xs:annotation>
  <xs:simpleType name="iso3166:CodeContentType">
    <xs:annotation>
      <xs:documentation>
        <xhtml:div class="Core_Component_Type">
          <xhtml:p>Code. Type</xhtml:p>
        </xhtml:div>
      </xs:documentation>
      <xs:documentation>
        <xhtml:div class="Code_List._Identifier">
          <xhtml:p>ISO 3166</xhtml:p>
        </xhtml:div>
      </xs:documentation>
      <xs:documentation>
        <xhtml:div class="Code_List._Agency._Identifier">
          <xhtml:p>6</xhtml:p>
        </xhtml:div>
      </xs:documentation>
      <xs:documentation>
        <xhtml:div class="Code_List._Version._Identifier">
          <xhtml:p>0.2</xhtml:p>
        </xhtml:div>
      </xs:documentation>
    </xs:annotation>
    <xs:extension base="xs:token">
      <xs:enumeration value="AF"/>
      <xs:enumeration value="AL"/>
      <xs:enumeration value="DZ"/>
      . . .
    </xs:extension>
  </xs:simpleType>

  <xs:complexType name="iso3166:CodeType">
    <xs:annotation>
      <xs:documentation>
        <xhtml:div class="Core_Component_Type">
          <xhtml:p>Code. Type</xhtml:p>
        </xhtml:div>
      </xs:documentation>
      <xs:documentation>
        <xhtml:div class="Code_List._Identifier">
          <xhtml:p>ISO 3166</xhtml:p>
        </xhtml:div>
      </xs:documentation>
      <xs:documentation>
        <xhtml:div class="Code_List._Agency._Identifier">
          <xhtml:p>6</xhtml:p>
        </xhtml:div>
      </xs:documentation>
      <xs:documentation>
        <xhtml:div class="Code_List._Version._Identifier">
          <xhtml:p>0.2</xhtml:p>
        </xhtml:div>
      </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="iso3166:CodeContentType">
        <xs:attribute name="ID"
          type="xs:token" fixed="ISO 3166"/>
        <xs:attribute name="agencyID"
          type="xs:token" fixed="6"/>
        <xs:attribute name="versionID"
          type="string" fixed="0.2"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:schema>

