<address-text> (
Address Text)
Description
Description
This element contains an address, with child elements for different parts of the address. It has the same child elements as the highly structured
<address> element, but allows them to occur in any order, and allows text to appear between them. This approach permits all parts of an address to be unambiguously identified, while also allowing the address to be formatted as the article author intended:
... who can be found in <address-text><city>Boston</city>, <country>USA</country>
(call <phone>999 123456</phone>)</address-text>.
... who can be found in Boston, USA (call 999 123456).
Parent Elements
The elements listed below may directly contain this element.
They are "parent" elements. Elements in referenced groups are included, up to two levels of group nesting.
Model Diagram
The DTD model for this element:
--+(choice of TEXT with elements repeated)
|
|-- addline -- TEXT
|
|-- city -- TEXT
|
|-- province -- TEXT
|
|-- state -- TEXT
|
|-- zip -- TEXT
|
|-- postalcode -- TEXT
|
|-- country -- TEXT
|
|-- phone -- TEXT
|
|-- fax -- TEXT
|
|--+(choice) [Mail and Web Links in Text]
| |
| |-- email -- (TEXT and elements)
| |
| |-- webaddress -- (TEXT and elements)
|
|-- br
DTD Definition
The DTD contains the following element and attribute definitions
(note that embedded links are to definitions within the DTD page of this guide):
<!ELEMENT address-text (#PCDATA | addline | city | province | state
| zip | postalcode | country | phone | fax
| %MailAndWebLinksInText; | br)*>
<!ATTLIST address-text
%a-group-CommonIDAttrs;>
.
Defined in DTD section
Block-level Content : Address Text
General Attributes (shared with other elements)