XML technologies / DocBook / Inline elements / Markup-specific elements
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
This category includes the following elements:
codeSimilar to
programlisting, but only within body text. Contains short code fragments, further specified by the attributelanguage:
<code language="python2">print "'%s' nicht gefunden!" % filename</code>constantA program or system constant, for example:
<constant>42</constant>emailAn email address:
<email>tux@example.com</email>Depending on the publishing system, a link can be generated automatically using (
mailto).
literalGeneral text, similar to
userinputorcomputeroutput.
markupContains a string of markup code.
<para>In TeX schreiben Sie eine Hochstellung so <markup>$x^2$</markup> und eine Tiefstellung so <markup>$x_2$</markup>.</para>tag(DocBook 5 and later),sgmltag(DocBook 4 and earlier)An XML or SGML markup construct:
<tag>book</tag>
<tag class="attribute">linkend</tag>The attribute namespace specifies the namespace of the tag or attribute. Use the attribute class to classify the content further:
| The name of an XML attribute: |
| The value of an XML attribute: |
| An SGML comment: |
| An element name (default) |
| An end tag: |
| A general entity: |
| The local part of a qualified name |
| A namespace: "http://docbook.org/ns/docbook" |
| A character reference: |
| A parameter entity such as |
| An SGML processing instruction: |
| The prefix of a qualified name: |
| An SGML comment: |
| A start tag such as |
| An XML processing instruction |
tokenSpecifies a unit of information.
uriA Uniform Resource Identifier. Use the
typeattribute to classify the content further:
<uri type="xmlnamespace">http://docbook.org/ns/docbook</uri>
<uri type="rddlnature">http://www.w3.org/TR/REC-xml.html#dt-unparsed</uri>
<uri type="rddlpurpose">http://www.rddl.org/purposes/natures#DTD</uri>
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top