Definition Type: Element
Name: PostTown
Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
Containing Schema: xAL.xsd
MinOccurs 0
MaxOccurs (1)
Abstract
Documentation:
A post town is not the same as a locality. A post town can encompass a collection of (small) localities. It can also be a subpart of a locality. An actual post town in Norway is "Bergen".
Collapse XSD Schema Diagram:
Drilldown into PostTownSuffix in schema xal_xsd Drilldown into PostTownName in schema xal_xsd Drilldown into AddressLine in schema xal_xsd Drilldown into Type in schema xal_xsdXSD Diagram of PostTown in schema xal_xsd (OASIS Election Markup Language (EML))
Collapse XSD Schema Code:
<xs:element name="PostTown" minOccurs="0">
    <xs:annotation>
        <xs:documentation>A post town is not the same as a locality. A post town can encompass a collection of (small) localities. It can also be a subpart of a locality. An actual post town in Norway is "Bergen".</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
            <xs:element name="PostTownName" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Name of the post town</xs:documentation>
                </xs:annotation>
                <xs:complexType mixed="true">
                    <xs:attribute name="Type" />
                    <xs:attributeGroup ref="grPostal" />
                    <xs:anyAttribute namespace="##other" />
                </xs:complexType>
            </xs:element>
            <xs:element name="PostTownSuffix" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>GENERAL PO in MIAMI GENERAL PO</xs:documentation>
                </xs:annotation>
                <xs:complexType mixed="true">
                    <xs:attributeGroup ref="grPostal" />
                    <xs:anyAttribute namespace="##other" />
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="Type">
            <xs:annotation>
                <xs:documentation>eg. village, town, suburb, etc</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:anyAttribute namespace="##other" />
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
AddressLine xal:AddressLine 0 unbounded
PostTownName xal:PostTownName 0 unbounded
PostTownSuffix xal:PostTownSuffix 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
Type xal:Type (Optional)
<anyAttribute> Allowed namespace: '##other'
Collapse Comments:
blog comments powered by Disqus