xal:PostalCode
PostalCode is the container element for either simple or complex (extended) postal codes. Type: Area Code, Postcode, etc.
Element information
Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
Schema document: xAL.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Sequence [1..1]
- xal:AddressLine [0..*] Free format address representation. An address can have more than one line. The order of the AddressLine elements must be preserved.
- xal:PostalCodeNumber [0..*] Specification of a postcode. The postcode is formatted according to country-specific rules. Example: SW3 0A8-1A, 600074, 2067
- xal:PostalCodeNumberExtension [0..*] Examples are: 1234 (USA), 1G (UK), etc.
- xal:PostTown [0..1] 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".
- Any element [0..*] Namespace: ##other, Process Contents: strict
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Type | [0..1] | xsd:anySimpleType | Area Code, Postcode, Delivery code as in NZ, etc | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: strict |
Used in
- Anonymous type of element xal:AdministrativeArea
- Anonymous type of element xal:Department
- Anonymous type of element xal:Locality
- Anonymous type of element xal:PostBox
- Anonymous type of element xal:PostOffice
- Anonymous type of element xal:Premise
- Anonymous type of element xal:SubAdministrativeArea
- Anonymous type of element xal:Thoroughfare
- Type xal:DependentLocalityType (Element xal:DependentLocality)
- Type xal:LargeMailUserType (Element xal:LargeMailUser)
- Type xal:FirmType (Elements xal:Firm, xal:Firm)
- Type xal:SubPremiseType (Elements xal:SubPremise, xal:SubPremise)
Sample instance
<xal:PostalCode> <xal:AddressLine>Any text</xal:AddressLine> <xal:PostalCodeNumber>Any text</xal:PostalCodeNumber> <xal:PostalCodeNumberExtension>Any text</xal:PostalCodeNumberExtension> <xal:PostTown> <xal:AddressLine>Any text</xal:AddressLine> <xal:PostTownName>Any text</xal:PostTownName> <xal:PostTownSuffix>Any text</xal:PostTownSuffix> </xal:PostTown> <!--any element--> </xal:PostalCode>