| 1 | <refentry id="address.element"> |
| 2 | <?dbhtml filename="address.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>address</secondary></indexterm> |
| 11 | <refentrytitle>address</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>address</refname> |
| 16 | <refpurpose>&address.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &address.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | An address is generally a postal address, although it does contain |
| 24 | elements for <sgmltag>FAX</sgmltag> and <sgmltag>Email</sgmltag> addresses as well |
| 25 | as the catch-all <sgmltag>OtherAddr</sgmltag>. |
| 26 | </para> |
| 27 | |
| 28 | <para> |
| 29 | The <sgmltag class='attvalue'>linespecific</sgmltag> notation on the <sgmltag |
| 30 | class='attribute'>Format</sgmltag> attribute makes line breaks and other spaces |
| 31 | significant in an <sgmltag>Address</sgmltag>. |
| 32 | </para> |
| 33 | |
| 34 | <refsect2><title>Processing expectations</title> |
| 35 | <para> |
| 36 | &format.block; &pexp.linespecific; |
| 37 | </para> |
| 38 | </refsect2> |
| 39 | |
| 40 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 41 | <para>The <literal>xml:space</literal> attribute is automatically |
| 42 | provided in the XML DTD. |
| 43 | </para> |
| 44 | </refsect2> |
| 45 | |
| 46 | |
| 47 | &address.parents.gen; |
| 48 | &address.children.gen; |
| 49 | </refsect1> |
| 50 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 51 | <variablelist> |
| 52 | <varlistentry><term>continuation</term> |
| 53 | <listitem> |
| 54 | <para revision="4.3">If <sgmltag class="attribute">continuation</sgmltag> is specified, |
| 55 | it indicates how line numbering should begin relative to the |
| 56 | immediately preceding <sgmltag>address</sgmltag>. |
| 57 | <literal>Restarts</literal>, the default, indicates that numbering should begin |
| 58 | again at 1. <literal>Continues</literal> indicates that numbering should begin |
| 59 | where the preceding element left off. |
| 60 | </para> |
| 61 | </listitem> |
| 62 | </varlistentry> |
| 63 | <varlistentry><term>format</term> |
| 64 | <listitem> |
| 65 | <para> |
| 66 | The <sgmltag class="attribute">format</sgmltag> attribute applies the |
| 67 | <literal>linespecific</literal> notation to all <sgmltag>address</sgmltag>es. |
| 68 | All white space and line breaks must be preserved. |
| 69 | </para> |
| 70 | </listitem> |
| 71 | </varlistentry> |
| 72 | <varlistentry><term>linenumbering</term> |
| 73 | <listitem> |
| 74 | <para revision="4.0">Line numbering indicates whether or not the lines |
| 75 | of an <sgmltag>Address</sgmltag> are to be automatically numbered. The details |
| 76 | of numbering (every line or only selected lines, on the left or right, etc.) |
| 77 | are left up to the processing application. Be aware that not all processors |
| 78 | are capable of numbering lines.</para> |
| 79 | </listitem> |
| 80 | </varlistentry> |
| 81 | </variablelist> |
| 82 | </refsect1> |
| 83 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 84 | &address.seealso.gen; |
| 85 | </refsect1> |
| 86 | <refsect1><title>Examples</title> |
| 87 | |
| 88 | <informalexample role="example-source"> |
| 89 | <programlisting>&address.example.1.txt;</programlisting> |
| 90 | </informalexample> |
| 91 | |
| 92 | <anchor id="ex.os.address.1" role="HACK-ex.out.start"/> |
| 93 | &address.example.1.gen; |
| 94 | <anchor id="ex.oe.address.1" role="HACK-ex.out.end"/> |
| 95 | |
| 96 | <informalexample role="example-source"> |
| 97 | <programlisting>&address.example.2.txt;</programlisting> |
| 98 | </informalexample> |
| 99 | |
| 100 | <anchor id="ex.os.address.2" role="HACK-ex.out.start"/> |
| 101 | &address.example.2.gen; |
| 102 | <anchor id="ex.oe.address.2" role="HACK-ex.out.end"/> |
| 103 | |
| 104 | <informalexample role="example-source"> |
| 105 | <programlisting>&address.example.3.txt;</programlisting> |
| 106 | </informalexample> |
| 107 | |
| 108 | <anchor id="ex.os.address.3" role="HACK-ex.out.start"/> |
| 109 | &address.example.3.gen; |
| 110 | <anchor id="ex.oe.address.3" role="HACK-ex.out.end"/> |
| 111 | |
| 112 | &address.example.seealso.gen; |
| 113 | </refsect1> |
| 114 | </refentry> |
| 115 |