Language reference : Technical content elements : Domain elements : xNAL domain elements : locality
WebWorks  
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>.
Contains
Note: These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
Doctype
Content model
bookmap
( text data or data or data-about or foreign or unknown or keyword or apiname or option or parmname or cmdname or msgnum or varname or wintitle or term or abbreviated-form or localityname or postalcode) (any number)
learningBookmap
( text data or data or data-about or foreign or unknown or keyword or term or localityname or postalcode) (any number)
Contained by
Doctype
Content model
bookmap, learningBookmap
Inheritance
+ topic/ph xnal-d/locality
Example 406. Example
<addressdetails>
<thoroughfare>123 Yellow Brick Road</thoroughfare>
<locality>
<localityname>Emerald City</localityname>
<postalcode>66780</postalcode>
</locality>
<administrativearea>Kansas</administrativearea>
<country>USA</country>
</addressdetails>
Attributes
Name
Description
Data Type
Default Value
Required?
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups)
A set of related attributes, described in univ-atts attribute group
global-atts attribute group (xtrf, xtrc)
A set of related attributes, described in global-atts attribute group
class, outputclass, keyref
Keyref provides a redirectable reference based on a key defined within a map. See The keyref attribute for information on using this attribute. Class and outputclass are described in Other common DITA attributes