4.11. Document samples

As stated before each type of document has a particular heading and valid commands structure. The following sub-sections will provide heading and valid command structures for articles and books.

These examples do not cover all possibilities and they are available here to serve as generic guides for is possible with DocBook.

4.11.1. Article example


<article class="whitepaper" id="using -docbook" lang="pt-br"><?dbhtml filename="using-docbook.html">

  <artheader>
    <title>Como-Fazer DocBook</title>
    <author>
      <firstname>Jorge</firstname>
      <othername>Luiz</othername>
      <surname>Godoy</surname>
      <othername>Filho</othername>
      <affiliation>
        <orgname><ulink url="http://www.conectiva.com">Conectiva S.A.</ulink></orgname>
        <orgdiv>Publishing Department</orgdiv>
        <address><email>[email protected]</email></address>
      </affiliation>
    </author>
    <revhistory>
      <revision>
        <revnumber>1.0</revnumber>
        <date>27 de janeiro de 2000</date>
        <authorinitials>godoy</authorinitials>
        <revremark>Versão inicial.</revremark>
      </revision>
    </revhistory>

    <legalnotice>
      <para>This document can be freely translated and distributed. It's released 
      under the LDP License.</para>
    </legalnotice>

    <keywordset>
      <keyword>SGML</keyword>
      <keyword>DocBook</keyword>
      <keyword>DTD</keyword>
      <keyword>XML</keyword>
      <keyword>catalogs</keyword>
      <keyword>documents</keyword>
      <keyword>Publishingdlt;/keyword>
      <keyword>Conectiva</keyword>
      <keyword>configuration</keyword>
      <keyword>use</keyword>
      <keyword>tools</keyword>
      <keyword>HOWTO</keyword>
    </keywordset>

  </artheader>

      

4.11.2. Book Example