address

address — A real-world address, generally a postal address.

Synopsis

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • continuation (enumeration)
    • “continues”
    • “restarts”
  • linenumbering (enumeration)
    • “numbered”
    • “unnumbered”
  • startinglinenumber (integer)
  • language
  • xml:space (enumeration)
    • “preserve”

Description

An address is generally a postal address, although it does contain elements for fax and email addresses as well as the catchall otheraddr.

Processing expectations

Formatted as a displayed block. This element is displayed “verbatim”; whitespace and line breaks within this element are significant.

Attributes

Common attributes and common linking attributes.

continuation

Determines whether line numbering continues from the previous element or restarts.

Enumerated values:
“continues”

Line numbering continues from the immediately preceding element with the same name.

“restarts”

Line numbering restarts (begins at 1, usually).

language

Identifies the language (i.e. programming language) of the verbatim content.

linenumbering

Determines whether lines are numbered.

Enumerated values:
“numbered”

Lines are numbered.

“unnumbered”

Lines are not numbered.

startinglinenumber

Specifies the initial line number.

xml:space

Can be used to indicate explicitly that whitespace in the verbatim environment is preserved. Whitespace must always be preserved in verbatim environments whether this attribute is specified or not.

Enumerated values:
“preserve”

Whitespace must be preserved.

Parents [+]

This element occurs in 90 elements.

Children [+]

This element contains 28 elements.

Examples

  1 <article xmlns='http://docbook.org/ns/docbook'>
  2 <title>Example address</title>
    
  4 <para>An example of a postal mail address in the United States:
    <address>
  6 John and Jane Doe
    <street>100 Main Street</street>
  8 <city>Anytown</city>, <state>NY</state> <postcode>12345</postcode>
    <country>USA</country>
 10 </address>
    </para>
 12 
    </article>

An example of a postal mail address in the United States:


John and Jane Doe
100 Main Street
AnytownNY 12345
USA

  1 <article xmlns='http://docbook.org/ns/docbook'>
  2 <title>Example address</title>
    
  4 <para>An example of a post office box address in the United States:
    <address>
  6 <pob>P.O. Box 1234</pob>
    <city>Anytown</city>, <state>MA</state> <postcode>12345</postcode>
  8 <country>USA</country>
    </address>
 10 </para>
    
 12 </article>

An example of a post office box address in the United States:


P.O. Box 1234
AnytownMA 12345
USA

  1 <article xmlns='http://docbook.org/ns/docbook'>
  2 <title>Example address</title>
    
  4 <para>Addresses can also include phone numbers:
    <address>
  6 John Smith
    <street>100 Pine Blvd</street>
  8 <city>Anytown</city>, <state>NY</state> <postcode>12345</postcode>
    <country>USA</country>
 10 <phone>914.555.1212</phone>
    <fax>914.555.1212</fax>
 12 </address>
    </para>
 14 
    </article>

Addresses can also include phone numbers:


John Smith
100 Pine Blvd
AnytownNY 12345
USA
914.555.1212
914.555.1212

Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)