FreeBSD Documentation Project Primer for New Contributors
Prev | Appendix A. Examples | Next

# A.2 DocBook `<article>`

Example A-2. DocBook `<article>`

    <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
      "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

    <article lang='en'>
      <articleinfo>
        <title>An Example Article</title>

        <author>
          <firstname>Your first name</firstname>
          <surname>Your surname</surname>
          <affiliation>
            <address><email>foo@example.com</email></address>
          </affiliation>
        </author>

        <copyright>
          <year>2000</year>
          <holder>Copyright string here</holder>
        </copyright>

        <abstract>
          <para>If your article has an abstract then it should go here.</para>
        </abstract>
      </articleinfo>

      <sect1>
        <title>My First Section</title>

        <para>This is the first section in my article.</para>

        <sect2>
          <title>My First Sub-Section</title>

          <para>This is the first sub-section in my article.</para>
        </sect2>
      </sect1>
    </article>

Prev | Home | Next
Examples | Up | Producing Formatted Output