12. 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 commands structures on articles and books.

These examples do not cover all possibilities and they are available here only with the intention to serve as generic guides for what it's possible to do.

12.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 Departmentt;/orgdiv>
            <address><email>godoy@conectiva.com</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>
    
         

12.2. Book Example

    <book id="network-systems-administration><?dbhtml filename="html/networkadm.html">
      <bookinfo>
        <author>
          <firstname>Jorge</firstname>
          <surname>Godoy</surname>
          <affiliation>
            <orgname>&conectivasa;</orgname>
            <orgdiv>Publishing Departmentlt;/orgdiv>
            <address role="email">godoy@conectiva.com.br</address>
          </affiliation>
        </author>
        <editor>
          <firstname>Jorge</firstname>
          <surname>Godoy</surname>
        </editor>
        <copyright>
          <year>2000</year>
          <holder>&conectiva;</holder>
        </copyright>
        <title>Network and Systems Administration Using Linux</title>
        <legalnotice>
          <para>The contents of this book can be freely used and distributed
          as far as the source is mentioned as a reference that is, its bibliograph.</para>
        </legalnotice>
        <edition>INTERNAL Edition for comments</edition>
        <publisher>
          <publishername>Conectiva S/A</publishername>
          <address><city>Curitiba</city><country>Brasil</country></address>
        </publisher>
        <revhistory>
          <revision>
            <revnumber>1.0</revnumber>
            <date>Maio de 2000</date>
            <revremark>First Edition</revremark>
          </revision>
        </revhistory>
        <isbn>ISBN#</isbn>
        <pubdate>$Data: 1999/12/30 $</pubdate>
      </bookinfo>