<locality>
The <locality> element contains information about
the city and postal or ZIP code. It can contain the information directly,
or by acting as a wrapper for <localityname> and <postalcode>.
Content model
(Text | <data> | <data-about> | <foreign> | <unknown> | <keyword> | <term> | <text> | <localityname> | <postalcode>)*
Contained by
<addressdetails>
Zero or more of the following
- Text
<data><data-about><foreign><keyword><localityname><postalcode><term><text><unknown>
Contained by
<addressdetails>
Inheritance
+ topic/ph xnal-d/locality
The <locality> element is specialized from <ph>. It is defined in the xnal-domain module.
Example
This section is non-normative.
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>
<localityname>Emerald City</localityname>
<postalcode>66780</postalcode>
</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
Attributes
The following attributes
are available on this element: Universal attribute group,
outputclass, and @keyref.