| 1 | <refentry id="sgmltag.element"> |
| 2 | <?dbhtml filename="sgmltag.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>sgmltag</secondary></indexterm> |
| 11 | <refentrytitle>sgmltag</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>sgmltag</refname> |
| 16 | <refpurpose>&sgmltag.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &sgmltag.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | An <sgmltag>SGMLTag</sgmltag> identifies an &SGML; markup construct. |
| 24 | The utility of this element is almost |
| 25 | wholly constrained to books about &SGML;. |
| 26 | </para> |
| 27 | |
| 28 | <para> |
| 29 | <sgmltag>SGMLTag</sgmltag> is sufficient for most &XML; constructs, which |
| 30 | are identical to the corresponding &SGML; constructs, it but does |
| 31 | not have any provisions for handling the special features of &XML; |
| 32 | markup. A future version of DocBook will address this issue, |
| 33 | probably by adding new <sgmltag class="attribute">Class</sgmltag> |
| 34 | values. In the |
| 35 | meantime, you may get by by assigning a <sgmltag class='attribute'>Role</sgmltag> |
| 36 | attribute for &XML;. |
| 37 | </para> |
| 38 | |
| 39 | <refsect2><title>Processing expectations</title> |
| 40 | <para> |
| 41 | &format.inline; <sgmltag>SGMLTag</sgmltag> generates all the necessary punctuation |
| 42 | before and after the construct it identifies. For example, it generates |
| 43 | both the leading ampersand and the trailing semicolon when the |
| 44 | <sgmltag class='attribute'>Class</sgmltag> is <literal>genentity</literal>. |
| 45 | </para> |
| 46 | </refsect2> |
| 47 | |
| 48 | |
| 49 | |
| 50 | &sgmltag.parents.gen; |
| 51 | &sgmltag.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> identifies the specific &SGML; construct |
| 59 | represented. |
| 60 | </para> |
| 61 | </listitem> |
| 62 | </varlistentry> |
| 63 | </variablelist> |
| 64 | </refsect1> |
| 65 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 66 | &sgmltag.seealso.gen; |
| 67 | </refsect1> |
| 68 | <refsect1><title>Examples</title> |
| 69 | |
| 70 | &sgmltag.example.seealso.gen; |
| 71 | </refsect1> |
| 72 | </refentry> |
| 73 |