4.11. 文書のサンプル

繰り返しになりますが、個々の文書型には、その文書型特有のヘッダと有効な コマンドの階層があります。以下のサブセクションでは、article と book に ついてのヘッダと有効なコマンド階層を紹介します。

ここでの例は、あらゆる利用方法をカバーしているわけではないので、 以下では、使い方の一般例を提供する意味で紹介します。

4.11.1. article の例

<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竢 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 の例

作成中