| 1 | <refentry id="replaceable.element"> |
| 2 | <?dbhtml filename="replaceable.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>replaceable</secondary></indexterm> |
| 11 | <refentrytitle>replaceable</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>replaceable</refname> |
| 16 | <refpurpose>&replaceable.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &replaceable.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | <sgmltag>Replaceable</sgmltag> is used to mark text that describes |
| 24 | <emphasis>what</emphasis> a user is supposed to enter, but not the |
| 25 | <emphasis>actual text</emphasis> that they are supposed to enter. |
| 26 | </para> |
| 27 | <para> |
| 28 | It is used to identify a class of object |
| 29 | in the document, in which the user is expected to replace the text that |
| 30 | identifies the class |
| 31 | with some specific instance of that class. A canonical example is |
| 32 | <screen> |
| 33 | <![CDATA[ |
| 34 | <replaceable>filename</replaceable> |
| 35 | ]]> |
| 36 | </screen> |
| 37 | in which the user is expected to provide the name of some specific file |
| 38 | to replace the text <quote>filename.</quote> |
| 39 | </para> |
| 40 | |
| 41 | <refsect2><title>Processing expectations</title> |
| 42 | <para> |
| 43 | &format.inline; Usually, the text is given special typographic treatment, |
| 44 | such as italics, as a clue to the user that this is replaceable text. |
| 45 | Often the font used is described in a <quote>conventions</quote> section at |
| 46 | the beginning of the document. |
| 47 | </para> |
| 48 | </refsect2> |
| 49 | |
| 50 | |
| 51 | &replaceable.parents.gen; |
| 52 | &replaceable.children.gen; |
| 53 | </refsect1> |
| 54 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 55 | <variablelist> |
| 56 | <varlistentry><term>class</term> |
| 57 | <listitem> |
| 58 | <para> |
| 59 | <sgmltag class="attribute">Class</sgmltag> identifies the type of the replaceable |
| 60 | information. |
| 61 | </para> |
| 62 | </listitem> |
| 63 | </varlistentry> |
| 64 | </variablelist> |
| 65 | </refsect1> |
| 66 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 67 | &replaceable.seealso.gen; |
| 68 | </refsect1> |
| 69 | <refsect1><title>Examples</title> |
| 70 | |
| 71 | &replaceable.example.seealso.gen; |
| 72 | </refsect1> |
| 73 | </refentry> |
| 74 |