You are here: Home > DocBook Publishing > Short Tutorial > A simple DocBook book | deutsch | ||||
DocBook PublishingOnline publishing made easy |
The following XML section shows a typical structure of a DocBook book.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "../../common/docbook/dtd/docbookx.dtd"> <book lang="de"> <title>Mein erstes DocBook Buch</title> <bookinfo> <author> <honorific>Dipl.-Ing</honorific> <firstname>Stefan</firstname> <surname>Rinke</surname> </author> </bookinfo> <preface> <title>Vorwort</title> <para>In einem Vorwort stehen Dinge über das Buch an sich.</para> </preface> <chapter> <title>Einführung</title> <para>Dies ist ein einfacher Artikel <indexterm> <primary>Artikel</primary> <secondary>DocBook-Artikel</secondary> </indexterm>. Das ist nur ein Beispielabsatz.</para> </chapter> <appendix> <title>Anhang 1</title> <para>Das ist ein Anhang.</para> </appendix> <glossary> <glossdiv> <title>Ein Glossar</title> <glossentry> <glossterm id="DocBook">DocBook</glossterm> <glosssee>DocBook ist ein Standard zur Erstellung...</glosssee> </glossentry> </glossdiv> </glossary> <index/> </book>
To see how such a book might look in HTML[3], click hier.
[3] this depends on the defined style sheets
Short Tutorial |
| 1 | 2 | 3 | 4 | |
An artikel |