localityname

The <localityname> element contains the name of the locality or city.

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) (any number)
learningBookmap ( text data or data or data-about or foreign or unknown or keyword or term) (any number)

Contained by

Doctype Content model
bookmap, learningBookmap locality

Inheritance

+ topic/ph xnal-d/localityname

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

Was this helpful?