| 1 | <refentry id="segmentedlist.element"> |
| 2 | <?dbhtml filename="segmentedlist.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>segmentedlist</secondary></indexterm> |
| 11 | <refentrytitle>segmentedlist</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>segmentedlist</refname> |
| 16 | <refpurpose>&segmentedlist.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &segmentedlist.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>SegmentedList</sgmltag> consists of a set of headings |
| 24 | (<sgmltag>SegTitle</sgmltag>s) and a list of parallel sets of elements. |
| 25 | Every <sgmltag>SegListItem</sgmltag> contains a set of elements that |
| 26 | have a one-to-one correspondence with the headings. Each of these |
| 27 | elements is contained in a <sgmltag>Seg</sgmltag>. |
| 28 | </para> |
| 29 | |
| 30 | <refsect2><title>Processing expectations</title> |
| 31 | <para> |
| 32 | Segmented lists can be formatted in a number of ways. Two popular |
| 33 | formats are tabular and as a list of repeated headings and elements. |
| 34 | In a tabular presentation, the <sgmltag>SegmentedList</sgmltag> is the table. |
| 35 | In the list presentation, the <sgmltag>SegmentedList</sgmltag> surrounds the |
| 36 | entire list of blocks of heading/element pairs. |
| 37 | </para> |
| 38 | </refsect2> |
| 39 | |
| 40 | <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 41 | <para> |
| 42 | In DocBook <acronym>V4.0</acronym>, at least two <sgmltag>SegTitle</sgmltag>s will be required. |
| 43 | </para> |
| 44 | </refsect2> |
| 45 | |
| 46 | |
| 47 | &segmentedlist.parents.gen; |
| 48 | &segmentedlist.children.gen; |
| 49 | </refsect1> |
| 50 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 51 | &segmentedlist.seealso.gen; |
| 52 | </refsect1> |
| 53 | <refsect1><title>Examples</title> |
| 54 | |
| 55 | <informalexample role="example-source"> |
| 56 | <programlisting>&segmentedlist.example.1.txt;</programlisting> |
| 57 | </informalexample> |
| 58 | |
| 59 | <anchor id="ex.os.segmentedlist.1" role="HACK-ex.out.start"/> |
| 60 | &segmentedlist.example.1.gen; |
| 61 | <anchor id="ex.oe.segmentedlist.1" role="HACK-ex.out.end"/> |
| 62 | |
| 63 | <para> |
| 64 | Alternatively: |
| 65 | </para> |
| 66 | |
| 67 | <informalexample role="example-source"> |
| 68 | <programlisting>&segmentedlist.example.2.txt;</programlisting> |
| 69 | </informalexample> |
| 70 | |
| 71 | <anchor id="ex.os.segmentedlist.2" role="HACK-ex.out.start"/> |
| 72 | &segmentedlist.example.2.gen; |
| 73 | <anchor id="ex.oe.segmentedlist.2" role="HACK-ex.out.end"/> |
| 74 | |
| 75 | &segmentedlist.example.seealso.gen; |
| 76 | </refsect1> |
| 77 | </refentry> |
| 78 |