address
address — A real-world address, generally a postal address.
Synopsis
address ::=
- Zero or more of:
- text
city
country
email
fax
orgname
otheraddr
personname
phone
pob
postcode
state
street
uri
- Graphic inlines
- Indexing inlines
- Linking inlines
- Ubiquitous inlines
abbrev
acronym
alt
anchor
biblioref
coref
date
emphasis
(db._emphasis)firstterm
(db._firstterm)footnote
footnoteref
foreignphrase
(db._foreignphrase)glossterm
(db._glossterm)indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
phrase
(db._phrase)quote
(db._quote)remark
subscript
superscript
trademark
wordasword
xref
Attributes
Common attributes and common linking attributes.
Additional attributes:
- All of:
- continuation (enumeration)
- “continues”
- “restarts”
- linenumbering (enumeration)
- “numbered”
- “unnumbered”
- startinglinenumber (integer)
- xml:space (enumeration)
- “preserve”
- language
- continuation (enumeration)
Description
An address is generally a postal address, although it does
contain elements for fax
and email
addresses as
well as the catchall otheraddr
.
The language
attribute will be removed
in DocBook V6.0. Use xml:lang
instead.
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.
- any attribute
Any attribute in any other explicit namespace
- 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
These elements contain address
: abstract
, acknowledgements
, affiliation
, answer
, appendix
, article
, author
, bibliodiv
, biblioentry
, bibliography
, bibliolist
, bibliomixed
, bibliomset
, biblioset
, blockquote
, callout
, calloutlist
, caption
, caution
, chapter
, colophon
, confgroup
, cover
, danger
, dedication
, dialogue
, drama
, editor
, entry
, example
, figure
, footnote
, glossary
, glossdef
, glossdiv
, glosslist
, important
, index
, info
(db.info), info
(db.titleforbidden.info), info
(db.titleonly.info), info
(db.titleonlyreq.info), info
(db.titlereq.info), informalexample
, informalfigure
, itemizedlist
, legalnotice
, linegroup
, listitem
, meta
(db.meta.content), note
, orderedlist
, org
, othercredit
, para
, partintro
, person
, poetry
, preface
, procedure
, publisher
, qandadiv
, qandaset
, question
, result
, revdescription
, section
, setindex
, sidebar
, simplesect
, step
, taskprerequisites
, taskrelated
, tasksummary
, textobject
, tip
, toc
, variablelist
, warning
.
Children
The following elements occur in address
: text, abbrev
, acronym
, alt
, anchor
, biblioref
, city
, coref
, country
, date
, email
, emphasis
(db._emphasis), fax
, firstterm
(db._firstterm), footnote
, footnoteref
, foreignphrase
(db._foreignphrase), glossterm
(db._glossterm), indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), inlinemediaobject
, link
, olink
, orgname
, otheraddr
, personname
, phone
, phrase
(db._phrase), pob
, postcode
, quote
(db._quote), remark
, state
, street
, subscript
, superscript
, trademark
, uri
, wordasword
, xref
.
See Also
Related elements: city
, country
, email
, fax
, otheraddr
, phone
, pob
, postcode
, state
, street
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example address</title>
||
<para>An example of a postal mail address in the United States:
5 |<address>
|John and Jane Doe
|<street>100 Main Street</street>
|<city>Anytown</city>, <state>NY</state> <postcode>12345</postcode>
|<country>USA</country>
10 |</address>
|</para>
||
</article>
An example of a postal mail address in the United States:
John and Jane Doe 100 Main Street Anytown, NY 12345 USA
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example address</title>
||
<para>An example of a post office box address in the United States:
5 |<address>
|<pob>P.O. Box 1234</pob>
|<city>Anytown</city>, <state>MA</state> <postcode>12345</postcode>
|<country>USA</country>
|</address>
10 |</para>
||
</article>
An example of a post office box address in the United States:
P.O. Box 1234 Anytown, MA 12345 USA
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example address</title>
||
<para>Addresses can also include phone numbers:
5 |<address>
|John Smith
|<street>100 Pine Blvd</street>
|<city>Anytown</city>, <state>NY</state> <postcode>12345</postcode>
|<country>USA</country>
10 |<phone>914.555.1212</phone>
|<fax>914.555.1212</fax>
|</address>
|</para>
|15 |
</article>
Addresses can also include phone numbers:
John Smith 100 Pine Blvd Anytown, NY 12345 USA 914.555.1212 914.555.1212