HOME XML-SCHEMA XML-EXAMPLES CHESS VARIANTS FBR MBN ANCP FAQ RESOURCES ABOUT

CIF - Namebase - Player Data


<xs:group name="Player"> <xs:sequence> <xs:element name="name" type="Token" minOccurs="0" maxOccurs="1"/> <xs:element name="surname" type="Token" minOccurs="0" maxOccurs="1"/> <xs:element name="forename" type="Token" minOccurs="0" maxOccurs="1"/> <xs:element name="regioncode" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1"/> <xs:element name="nation" type="Country" minOccurs="0" maxOccurs="1"/> <xs:element name="species" type="Species" minOccurs="0" maxOccurs="1"/> <xs:element name="gender" type="Gender" minOccurs="0" maxOccurs="1"/> <xs:element name="teamid" type="NamebaseID" minOccurs="0" maxOccurs="1"/> <xs:element name="networkaddress" type="xs:anyURI" minOccurs="0" maxOccurs="1"/> <xs:element name="birth" type="Date" minOccurs="0" maxOccurs="1"/> <xs:element name="death" type="Date" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:group> <xs:complexType name="NPlayer"> <xs:sequence> <xs:group base="Player"/> </xs:sequence> <xs:attribute name="id" type="NamebaseID" use="required"/> </xs:complexType>

Element nation is specifying the country of birth.

<xs:simpleType name="Species"> <xs:restriction base="xs:string"> <xs:enumeration value="human"/> <xs:enumeration value="program"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="Gender"> <xs:restriction base="Token"> <xs:enumeration value="male"/> <xs:enumeration value="female"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="RegionCode"> <xs:restriction base="xs:nonNegativeInteger"> <xs:minInclusive value="1"/> <xs:maxInclusive value="6"/> </xs:restriction> </xs:simpleType>


Google translation

Share this page

C/CIF at Sourceforge

C/CIF at Sourceforge

C/CIF at Launchpad

C/CIF at Launchpad