element PollingInformation

element {http://www.govtalk.gov.uk/temp/voting}PollingInformation

Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://www.govtalk.gov.uk/temp/voting
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns=http://www.govtalk.gov.uk/temp/voting


Source

<xsd:element name="PollingInformation">
    <
xsd:complexType>
        <
xsd:complexContent>
            <
xsd:extension base="DocumentElementStructure">
                <
xsd:sequence>
                    <
xsd:element name="Polling" maxOccurs="unbounded">
                        <
xsd:annotation>
                            <
xsd:documentation>Multiple sets of polling information allowed to allow transfer to a printer. There has been no attempt to avoid duplication of data - we have gone for simplicity.</xsd:documentation>
                        </
xsd:annotation>
                        <
xsd:complexType>
                            <
xsd:sequence>
                                <
xsd:element ref="ElectionEventName"/>
                                <
xsd:element name="Voter" minOccurs="0">
                                    <
xsd:complexType>
                                        <
xsd:complexContent>
                                            <
xsd:restriction base="VoterIdentificationStructure">
                                                <
xsd:sequence>
                                                    <
xsd:element ref="VoterName" minOccurs="0"/>
                                                    <
xsd:element name="ElectoralAddress"
                                                        
type="xNALaddressStructure" minOccurs="0"
                                                        
maxOccurs="0">
                                                        <
xsd:annotation>
                                                            <
xsd:documentation>This is the address that gives the voter the right to vote</xsd:documentation>
                                                        </
xsd:annotation>
                                                    </
xsd:element>
                                                    <
xsd:element name="PreviousElectoralAddress"
                                                        
type="xNALaddressStructure" minOccurs="0"
                                                        
maxOccurs="0"/>
                                                    <
xsd:element ref="VToken" minOccurs="0"
                                                        
maxOccurs="0"/>
                                                    <
xsd:element name="Id" minOccurs="0"
                                                        
maxOccurs="unbounded">
                                                        <
xsd:complexType>
                                                            <
xsd:simpleContent>
                                                                <
xsd:extension base="xsd:string">
                                                                    <
xsd:attribute name="Type"
                                                                        
type="xsd:string"
                                                                        
use="required"/>
                                                                </
xsd:extension>
                                                            </
xsd:simpleContent>
                                                        </
xsd:complexType>
                                                    </
xsd:element>
                                                </
xsd:sequence>
                                            </
xsd:restriction>
                                        </
xsd:complexContent>
                                    </
xsd:complexType>
                                </
xsd:element>
                                <
xsd:element name="Contact" type="ContactDetailsStructure"
                                    
minOccurs="0"/>
                                <
xsd:element name="Election" maxOccurs="unbounded">
                                    <
xsd:complexType>
                                        <
xsd:sequence>
                                            <
xsd:element ref="ElectionName"/>
                                            <
xsd:element ref="ContestName" minOccurs="0"/>
                                            <
xsd:element name="RegionL1" type="RegionStructure"
                                                
minOccurs="0"/>
                                            <
xsd:element name="RegionL2" type="RegionStructure"
                                                
minOccurs="0"/>
                                            <
xsd:element name="RegionL3" type="RegionStructure"
                                                
minOccurs="0"/>
                                            <
xsd:element name="VotingInformation"
                                                
maxOccurs="unbounded">
                                                <
xsd:annotation>
                                                    <
xsd:documentation>This can be polling station and some reference for voting in person, phone number and PIN for phone vote, URL and some credential for Internet voting etc.</xsd:documentation>
                                                </
xsd:annotation>
                                                <
xsd:complexType>
                                                    <
xsd:sequence>
                                                        <
xsd:element ref="Location"/>
                                                        <
xsd:element ref="VToken" minOccurs="0"/>
                                                    </
xsd:sequence>
                                                    <
xsd:attribute name="Type" use="required">
                                                        <
xsd:simpleType>
                                                            <
xsd:restriction base="xsd:NMTOKEN">
                                                                <
xsd:enumeration value="station"/>
                                                                <
xsd:enumeration value="internet"/>
                                                                <
xsd:enumeration value="telephone"/>
                                                                <
xsd:enumeration value="post"/>
                                                            </
xsd:restriction>
                                                        </
xsd:simpleType>
                                                    </
xsd:attribute>
                                                </
xsd:complexType>
                                            </
xsd:element>
                                            <
xsd:element name="VotingPeriod">
                                                <
xsd:complexType>
                                                    <
xsd:sequence>
                                                        <
xsd:element name="Start" type="xsd:dateTime"/>
                                                        <
xsd:element name="End" type="xsd:dateTime"/>
                                                    </
xsd:sequence>
                                                </
xsd:complexType>
                                            </
xsd:element>
                                            <
xsd:element name="Messages" type="MessagesStructure"
                                                
minOccurs="0"/>
                                            <
xsd:any namespace="##any" minOccurs="0"/>
                                        </
xsd:sequence>
                                    </
xsd:complexType>
                                </
xsd:element>
                                <
xsd:element name="Messages" type="MessagesStructure" minOccurs="0"/>
                                <
xsd:any namespace="##any" minOccurs="0"/>
                            </
xsd:sequence>
                        </
xsd:complexType>
                    </
xsd:element>
                </
xsd:sequence>
            </
xsd:extension>
        </
xsd:complexContent>
    </
xsd:complexType>
</
xsd:element>


element PollingInformation


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.