address — A real-world address, generally a postal address
address ::=
(text | city
| country
|
email
| fax
|
otheraddr
| personname
|
phone
| phrase
db._phrase | pob
|
postcode
| replaceable
|
state
| street
|
uri
| Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*
Common attributes and common linking attributes.
Additional attributes:
continuation
(enumeration) = “continues” | “restarts”
linenumbering
(enumeration) = “numbered” | “unnumbered”
startinglinenumber
(integer)
language
xml:space
(enumeratiocan) = “preserve”
An address is generally a postal address, although it does contain
elements for fax
and email
addresses as well as the catchall otheraddr
.
Formatted as a displayed block. This element is displayed “verbatim”; whitespace and line breaks within this element are significant.
Common attributes and common linking attributes.
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). |
Identifies the language (i.e., programming language) of the verbatim content.
Determines whether lines are numbered.
Enumerated values: | |
---|---|
“numbered” | Lines are numbered. |
“unnumbered” | Lines are not numbered. |
Specifies the initial line number.
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. |
<article xmlns='http://docbook.org/ns/docbook'> <title>Example address</title> <para>An example of a postal mail address in the United States: <address> John and Jane Doe <street>100 Main Street</street> <city>Anytown</city>, <state>NY</state> <postcode>12345</postcode> <country>USA</country> </address> </para> </article>
<article xmlns='http://docbook.org/ns/docbook'> <title>Example address</title> <para>An example of a post office box address in the United States: <address> <pob>P.O. Box 1234</pob> <city>Anytown</city>, <state>MA</state> <postcode>12345</postcode> <country>USA</country> </address> </para> </article>
<article xmlns='http://docbook.org/ns/docbook'> <title>Example address</title> <para>Addresses can also include phone numbers: <address> John Smith <street>100 Pine Blvd</street> <city>Anytown</city>, <state>NY</state> <postcode>12345</postcode> <country>USA</country> <phone>914.555.1212</phone> <fax>914.555.1212</fax> </address> </para> </article>