XML technologies / DocBook / Inline elements / Program-specific elements
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
This category includes the following elements (the categories are not arbitrary; they come from DocBook’s RELAX NG schema):
-
classname,exceptionname,interfacename,methodname These elements document object-oriented programs, languages or architectures:
<para>Die Klassenbibliothek QT besitzt die Klasse <classname>QSvgWidget</classname> mit der Methode <methodname>load</methodname>. XML-Exceptions werden durch <exceptionname>QXmlParseException</exceptionname> behandelt.</para>function, parameter, returnvalue
For describing functions, parameters and return values:
<para>Python erwartet in der Funktion <function>lexists</function> den Parameter <parameter>path</parameter> und gibt als Rückgabewert <returnvalue>True</returnvalue> oder <returnvalue>False</returnvalue> zurück.</para>varname
The name of a variable:
<para>In Python enthält <varname>sys.argv</varname> die Kommandozeilenparameter beim Aufruf des Skripts.</para>
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