complexType VoterInformationStructure

complexType {http://www.govtalk.gov.uk/temp/voting}VoterInformationStructure

Abstractfalse (This can be used in an instance)
Target Namespacehttp://www.govtalk.gov.uk/temp/voting
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:xnal=http://www.govtalk.gov.uk/temp/xnal
xmlns:xlink=http://www.w3.org/1999/xlink
xmlns=http://www.govtalk.gov.uk/temp/voting


Source

<xsd:complexType name="VoterInformationStructure">
    <
xsd:sequence>
        <
xsd:element name="Identification" type="VoterIdentificationStructure"/>
        <
xsd:element name="Contact" type="ContactDetailsStructure" minOccurs="0"/>
        <
xsd:element name="DateOfBirth" type="xsd:date" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>Probably need a choice of something else for the UK</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="EffectiveDateAdded" type="xsd:date" minOccurs="0"/>
        <
xsd:element name="EffectiveDateRemoved" type="xsd:date" minOccurs="0"/>
        <
xsd:element name="PreferredLanguage" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>A two-character ISO 639:1988 code</xsd:documentation>
            </
xsd:annotation>
            <
xsd:simpleType>
                <
xsd:restriction base="xsd:string">
                    <
xsd:pattern value="[a-z]{2}"/>
                </
xsd:restriction>
            </
xsd:simpleType>
        </
xsd:element>
        <
xsd:element name="PreferredMethod" type="xsd:string" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>e.g. "postal". Do we want enumerations?</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="Military" type="YesNoType" minOccurs="0"/>
        <
xsd:element name="SpecialRequests" minOccurs="0">
            <
xsd:complexType>
                <
xsd:sequence>
                    <
xsd:element name="SpecialRequest" maxOccurs="unbounded"/>
                </
xsd:sequence>
            </
xsd:complexType>
        </
xsd:element>
        <
xsd:any namespace="##any" minOccurs="0"/>
    </
xsd:sequence>
    <
xsd:attributeGroup ref="DisplayId"/>
</
xsd:complexType>


complexType VoterInformationStructure


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.