| 1 | <refentry id="filename.element"> |
| 2 | <?dbhtml filename="filename.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>filename</secondary></indexterm> |
| 11 | <refentrytitle>filename</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>filename</refname> |
| 16 | <refpurpose>&filename.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &filename.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>Filename</sgmltag> is the name of a file on a local or network disk. |
| 24 | It may be a simple name or may include a path |
| 25 | or other elements specific to the operating system. |
| 26 | </para> |
| 27 | |
| 28 | <refsect2><title>Processing expectations</title> |
| 29 | <para> |
| 30 | &format.inline; &pexp.moreinfo; |
| 31 | </para> |
| 32 | </refsect2> |
| 33 | |
| 34 | <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title> |
| 35 | <para> |
| 36 | <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V4.0</acronym></secondary> |
| 37 | </indexterm> |
| 38 | The content model of <sgmltag>Filename</sgmltag> will be constrained to |
| 39 | <literal>(#PCDATA | Replaceable | InlineGraphic)</literal> in DocBook <acronym>V4.0</acronym>. |
| 40 | </para> |
| 41 | </refsect2> |
| 42 | |
| 43 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 44 | <para>Filename extensions can be explicitly identified with the |
| 45 | <literal>extension</literal> class value.</para> |
| 46 | </refsect2> |
| 47 | |
| 48 | |
| 49 | |
| 50 | &filename.parents.gen; |
| 51 | &filename.children.gen; |
| 52 | </refsect1> |
| 53 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 54 | <variablelist> |
| 55 | <varlistentry><term>class</term> |
| 56 | <listitem> |
| 57 | <para> |
| 58 | <sgmltag class="attribute">Class</sgmltag> allows the author to identify particular |
| 59 | kinds of files. |
| 60 | </para> |
| 61 | </listitem> |
| 62 | </varlistentry> |
| 63 | <varlistentry><term>moreinfo</term> |
| 64 | <listitem> |
| 65 | <para> |
| 66 | If <sgmltag class='attribute'>MoreInfo</sgmltag> is set to <literal>RefEntry</literal>, |
| 67 | it implies that a <sgmltag>RefEntry</sgmltag> exists which further describes the |
| 68 | <sgmltag>Filename</sgmltag>. |
| 69 | </para> |
| 70 | </listitem> |
| 71 | </varlistentry> |
| 72 | <varlistentry><term>path</term> |
| 73 | <listitem> |
| 74 | <para> |
| 75 | <sgmltag class="attribute">Path</sgmltag> contains the <emphasis>search</emphasis> path, |
| 76 | possibly in a system or application specific form, on which the file |
| 77 | can be found. |
| 78 | </para> |
| 79 | </listitem> |
| 80 | </varlistentry> |
| 81 | </variablelist> |
| 82 | </refsect1> |
| 83 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 84 | &filename.seealso.gen; |
| 85 | </refsect1> |
| 86 | <refsect1><title>Examples</title> |
| 87 | |
| 88 | <informalexample role="example-source"> |
| 89 | <programlisting>&filename.example.1.txt;</programlisting> |
| 90 | </informalexample> |
| 91 | |
| 92 | <anchor id="ex.os.filename.1" role="HACK-ex.out.start"/> |
| 93 | &filename.example.1.gen; |
| 94 | <anchor id="ex.oe.filename.1" role="HACK-ex.out.end"/> |
| 95 | |
| 96 | &filename.example.seealso.gen; |
| 97 | </refsect1> |
| 98 | </refentry> |
| 99 |