These examples are not exhaustive—they do not contain
all the elements that might be desirable to use, particularly in a
document's front matter. For more examples of DocBook markup,
examine the XML source for this and other
documents available in the Subversion
doc
repository, or available online starting at
http://svnweb.FreeBSD.org/doc/
.
book
<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V5.0-Based Extension//EN" "http://www.FreeBSD.org/XML/share/xml/freebsd50.dtd"><book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">
<info>
<title>
An Example Book</title>
<author>
<personname>
<firstname>
Your first name</firstname>
<surname>
Your surname</surname>
</personname>
<affiliation>
<address>
<email>
foo@example.com</email>
</address>
</affiliation>
</author>
<copyright>
<year>
2000</year>
<holder>
Copyright string here</holder>
</copyright>
<abstract>
<para>
If your book has an abstract then it should go here.</para>
</abstract>
</info>
<preface>
<title>
Preface</title>
<para>
Your book may have a preface, in which case it should be placed here.</para>
</preface>
<chapter>
<title>
My First Chapter</title>
<para>
This is the first chapter in my book.</para>
<sect1>
<title>
My First Section</title>
<para>
This is the first section in my book.</para>
</sect1>
</chapter>
</book>
All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.