[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [ubl-lcsc] Code list sample schema
My action item from this mornings LCSC call was to
send this out to the list again.
Attached is the sample xsd schema for the Country
Code. What I am interested in seeing is using this in the creation of the
sample instances, does it help?
Lisa
++++++++++++++++++++++++++++++++++++++++++++++++++++
Lisa Seaburg AEON LLC Website: http://www.aeon-llc.com/ Email: lseaburg@aeon-llc.com Alternative Email: xcblgeek@yahoo.com Phone: 662-562-7676 Cellphone: 662-501-7676 "Remember that great love and great achievements
involve great
risk."
++++++++++++++++++++++++++++++++++++++++++++++++++++ |
<?xml version="1.0" encoding="UTF-8"?> <!-- edited with XML Spy v4.0.1 U (http://www.xmlspy.com) by Lisa A Seaburg (private) --> <xs:schema targetNamespace="http://example.com/iso3166CountryCodeSample" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:iso3166="http://example.com/iso3166CountryCodeSample"> <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="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.3</xhtml:p> </xhtml:div> </xs:documentation> </xs:annotation> <xs:restriction base="xs:token"> <xs:enumeration value="AE"> <xs:annotation> <xs:documentation> <xhtml:p>UNITED ARAB EMIRATES</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AF"> <xs:annotation> <xs:documentation> <xhtml:p>AFGHANISTAN</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AG"> <xs:annotation> <xs:documentation> <xhtml:p>ANTIGUA AND BARBUDA</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AI"> <xs:annotation> <xs:documentation> <xhtml:p>ANGUILLA</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AL"> <xs:annotation> <xs:documentation> <xhtml:p>ALBANIA</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AM"> <xs:annotation> <xs:documentation> <xhtml:p>ARMENIA</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AN"> <xs:annotation> <xs:documentation> <xhtml:p>NETHERLANDS ANTILLES</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AO"> <xs:annotation> <xs:documentation> <xhtml:p>ANGOLA</xhtml:p> </xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="AR"/> <xs:enumeration value="AS"/> <xs:enumeration value="AT"/> <xs:enumeration value="AU"/> <xs:enumeration value="AW"/> <xs:enumeration value="AZ"/> <xs:enumeration value="BA"/> <xs:enumeration value="BB"/> <xs:enumeration value="BD"/> <xs:enumeration value="BE"/> <xs:enumeration value="BF"/> <xs:enumeration value="BG"/> <xs:enumeration value="BH"/> <xs:enumeration value="BI"/> <xs:enumeration value="BJ"/> <xs:enumeration value="BM"/> <xs:enumeration value="BN"/> <xs:enumeration value="BO"/> <xs:enumeration value="BR"/> <xs:enumeration value="BS"/> <xs:enumeration value="BT"/> <xs:enumeration value="BU"/> <xs:enumeration value="BW"/> <xs:enumeration value="BY"/> <xs:enumeration value="BZ"/> <xs:enumeration value="CA"/> <xs:enumeration value="CC"/> <xs:enumeration value="CD"/> <xs:enumeration value="CF"/> <xs:enumeration value="CG"/> <xs:enumeration value="CH"/> <xs:enumeration value="CI"/> <xs:enumeration value="CK"/> <xs:enumeration value="CL"/> <xs:enumeration value="CM"/> <xs:enumeration value="CN"/> <xs:enumeration value="CO"/> <xs:enumeration value="CR"/> <xs:enumeration value="CS"/> <xs:enumeration value="CU"/> <xs:enumeration value="CV"/> <xs:enumeration value="CX"/> <xs:enumeration value="CY"/> <xs:enumeration value="CZ"/> <xs:enumeration value="DE"/> <xs:enumeration value="DJ"/> <xs:enumeration value="DK"/> <xs:enumeration value="DM"/> <xs:enumeration value="DO"/> <xs:enumeration value="DZ"/> <xs:enumeration value="EC"/> <xs:enumeration value="EE"/> <xs:enumeration value="EG"/> <xs:enumeration value="EH"/> <xs:enumeration value="ER"/> <xs:enumeration value="ES"/> <xs:enumeration value="ET"/> <xs:enumeration value="FI"/> <xs:enumeration value="FJ"/> <xs:enumeration value="FK"/> <xs:enumeration value="FM"/> <xs:enumeration value="FO"/> <xs:enumeration value="FR"/> <xs:enumeration value="GA"/> <xs:enumeration value="GB"/> <xs:enumeration value="GD"/> <xs:enumeration value="GE"/> <xs:enumeration value="GF"/> <xs:enumeration value="GH"/> <xs:enumeration value="GI"/> <xs:enumeration value="GL"/> <xs:enumeration value="GM"/> <xs:enumeration value="GN"/> <xs:enumeration value="GP"/> <xs:enumeration value="GQ"/> <xs:enumeration value="GR"/> <xs:enumeration value="GS"/> <xs:enumeration value="GT"/> <xs:enumeration value="GU"/> <xs:enumeration value="GW"/> <xs:enumeration value="GY"/> <xs:enumeration value="HK"/> <xs:enumeration value="HN"/> <xs:enumeration value="HR"/> <xs:enumeration value="HT"/> <xs:enumeration value="HU"/> <xs:enumeration value="ID"/> <xs:enumeration value="IE"/> <xs:enumeration value="IL"/> <xs:enumeration value="IN"/> <xs:enumeration value="IO"/> <xs:enumeration value="IQ"/> <xs:enumeration value="IR"/> <xs:enumeration value="IS"/> <xs:enumeration value="IT"/> <xs:enumeration value="JM"/> <xs:enumeration value="JO"/> <xs:enumeration value="JP"/> <xs:enumeration value="KE"/> <xs:enumeration value="KG"/> <xs:enumeration value="KH"/> <xs:enumeration value="KI"/> <xs:enumeration value="KM"/> <xs:enumeration value="KN"/> <xs:enumeration value="KP"/> <xs:enumeration value="KR"/> <xs:enumeration value="KW"/> <xs:enumeration value="KY"/> <xs:enumeration value="KZ"/> <xs:enumeration value="LA"/> <xs:enumeration value="LB"/> <xs:enumeration value="LC"/> <xs:enumeration value="LI"/> <xs:enumeration value="LK"/> <xs:enumeration value="LR"/> <xs:enumeration value="LS"/> <xs:enumeration value="LT"/> <xs:enumeration value="LU"/> <xs:enumeration value="LV"/> <xs:enumeration value="LY"/> <xs:enumeration value="MA"/> <xs:enumeration value="MC"/> <xs:enumeration value="MD"/> <xs:enumeration value="MG"/> <xs:enumeration value="MH"/> <xs:enumeration value="MK"/> <xs:enumeration value="ML"/> <xs:enumeration value="MM"/> <xs:enumeration value="MN"/> <xs:enumeration value="MO"/> <xs:enumeration value="MP"/> <xs:enumeration value="MQ"/> <xs:enumeration value="MR"/> <xs:enumeration value="MS"/> <xs:enumeration value="MT"/> <xs:enumeration value="MU"/> <xs:enumeration value="MV"/> <xs:enumeration value="MW"/> <xs:enumeration value="MX"/> <xs:enumeration value="MY"/> <xs:enumeration value="MZ"/> <xs:enumeration value="NA"/> <xs:enumeration value="NC"/> <xs:enumeration value="NE"/> <xs:enumeration value="NI"/> <xs:enumeration value="NL"/> <xs:enumeration value="NO"/> <xs:enumeration value="NP"/> <xs:enumeration value="NR"/> <xs:enumeration value="NU"/> <xs:enumeration value="NZ"/> <xs:enumeration value="OM"/> <xs:enumeration value="PA"/> <xs:enumeration value="PE"/> <xs:enumeration value="PF"/> <xs:enumeration value="PG"/> <xs:enumeration value="PH"/> <xs:enumeration value="PK"/> <xs:enumeration value="PL"/> <xs:enumeration value="PM"/> <xs:enumeration value="PN"/> <xs:enumeration value="PR"/> <xs:enumeration value="PT"/> <xs:enumeration value="PW"/> <xs:enumeration value="PY"/> <xs:enumeration value="QA"/> <xs:enumeration value="RE"/> <xs:enumeration value="RO"/> <xs:enumeration value="RU"/> <xs:enumeration value="RW"/> <xs:enumeration value="SA"/> <xs:enumeration value="SB"/> <xs:enumeration value="SC"/> <xs:enumeration value="SD"/> <xs:enumeration value="SE"/> <xs:enumeration value="SG"/> <xs:enumeration value="SH"/> <xs:enumeration value="SI"/> <xs:enumeration value="SJ"/> <xs:enumeration value="SK"/> <xs:enumeration value="SL"/> <xs:enumeration value="SM"/> <xs:enumeration value="SN"/> <xs:enumeration value="SO"/> <xs:enumeration value="SR"/> <xs:enumeration value="ST"/> <xs:enumeration value="SV"/> <xs:enumeration value="SY"/> <xs:enumeration value="SZ"/> <xs:enumeration value="TC"/> <xs:enumeration value="TD"/> <xs:enumeration value="TF"/> <xs:enumeration value="TG"/> <xs:enumeration value="TH"/> <xs:enumeration value="TJ"/> <xs:enumeration value="TM"/> <xs:enumeration value="TN"/> <xs:enumeration value="TO"/> <xs:enumeration value="TP"/> <xs:enumeration value="TR"/> <xs:enumeration value="TT"/> <xs:enumeration value="TV"/> <xs:enumeration value="TW"/> <xs:enumeration value="TZ"/> <xs:enumeration value="UA"/> <xs:enumeration value="UG"/> <xs:enumeration value="UM"/> <xs:enumeration value="US"/> <xs:enumeration value="UY"/> <xs:enumeration value="UZ"/> <xs:enumeration value="VA"/> <xs:enumeration value="VC"/> <xs:enumeration value="VE"/> <xs:enumeration value="VG"/> <xs:enumeration value="VI"/> <xs:enumeration value="VN"/> <xs:enumeration value="VU"/> <xs:enumeration value="WF"/> <xs:enumeration value="WS"/> <xs:enumeration value="YE"/> <xs:enumeration value="YT"/> <xs:enumeration value="YU"/> <xs:enumeration value="ZA"/> <xs:enumeration value="ZM"/> <xs:enumeration value="ZW"/> </xs:restriction> </xs:simpleType> <xs:complexType name="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.3</xhtml:p> </xhtml:div> </xs:documentation> </xs:annotation> <xs:simpleContent> <xs:extension base="iso3166:CodeContentType"> <xs:attribute name="listID" type="xs:token" fixed="ISO 3166"/> <xs:attribute name="listAgencyID" type="xs:token" fixed="6"/> <xs:attribute name="listVersionID" type="string" fixed="0.3"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:schema>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]