DITA Resource Center

postalcode

The <postalcode> element contains information about the postal code or the ZIP code.

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 keyword or apiname or option or parmname or cmdname or msgnum or varname or wintitle) (any number)
learningBookmap ( text data or keyword) (any number)

Contained by

Doctype Content model
bookmap, learningBookmap locality

Inheritance

+ topic/ph xnal-d/postalcode

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 page helpful?