DocBook

DocBook documents technical information. As a semantic language that captures the structure of a document, DocBook is neutral in presentation. Its content can be published in a variety of formats, including HTML, XHTML, EPUB, PDF, man pages, Web help, and HTML Help.

The example below defines a simple DocBook 5.0 book containing two chapters.

<?xml version="1.0" encoding="UTF-8"?>
<book xml:id="simple_book"
          xmlns="http://docbook.org/ns/docbook" version="5.0">
   <title>Very simple book</title>
   <chapter xml:id="chapter_1">
      <title>Chapter 1</title>
      <para>HTML</para>
      <para>HTML deals with many <emphasis>tags</emphasis>!</para>
   </chapter>
   <chapter xml:id="chapter_2">
      <title>Chapter 2</title>
      <para>CSS</para>
   </chapter>
</book>