<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article
  PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<article status="Working Draft">

<articleinfo>
<productname>wd-spectools-docbook-template</productname>
<productnumber>03</productnumber>

<releaseinfo role="product"><ulink url="wd-spectools-docbook-template-03.xml">XML</ulink></releaseinfo>
<releaseinfo role="product"><ulink url="wd-spectools-docbook-template-03.html">HTML</ulink></releaseinfo>
<releaseinfo role="product"><ulink url="wd-spectools-docbook-template-03.pdf">PDF</ulink></releaseinfo>

<releaseinfo role="location">http://www.oasis-open.org/spectools/docs</releaseinfo>

<title><replaceable>{Document Title}</replaceable></title>

<authorgroup>
<editor>
  <firstname><replaceable>{Jane}</replaceable></firstname><surname><replaceable>{Doe}</replaceable></surname>
  <affiliation>
    <orgname><replaceable>{Example Corporation}</replaceable></orgname>
    <address><email><replaceable>{jane.doe@example.com}</replaceable></email></address>
  </affiliation>
</editor>
<author>
  <firstname>{John}</firstname><surname>{Able}</surname>
  <affiliation>
    <orgname><replaceable>{Other Example Corporation}</replaceable></orgname>
  </affiliation>
</author>
<othercredit>
  <firstname>{Mary}</firstname><surname>{Baker}</surname>
  <affiliation>
    <address><email><replaceable>{mary.baker@example.com}</replaceable></email></address>
  </affiliation>
</othercredit>
</authorgroup>

<pubdate>{date}</pubdate>

<copyright><year>2002</year>
<holder>OASIS Open, Inc. All Rights Reserved.</holder></copyright>

<abstract>
<para><replaceable>{This specification defines...}</replaceable></para>
</abstract>

<legalnotice role="status"><title>Status</title>

<para><replaceable>{Describe the status and stability of the specification here.}</replaceable>
</para>

<para>If you are on the
<email><replaceable>{xxx}</replaceable>@lists.oasis-open.org</email> list for committee
members, send comments there. If you are not on that list, subscribe
to the <email><replaceable>{xxx}</replaceable>-comment@lists.oasis-open.org</email>
list and send comments there. To subscribe, send an email message to
<email><replaceable>{xxx}</replaceable>-comment-request@lists.oasis-open.org</email>
with the word <quote><literal>subscribe</literal></quote>
as the body of the message.
</para>

<para><replaceable>{If a Committee Specification or OASIS Standard:}</replaceable>
The errata page for this specification is at
<ulink url="http://www.oasis-open.org/committees/{xxx}/{yyy}"/>.
</para>

</legalnotice>

</articleinfo>

<section id="s.introduction">
<title>Introduction</title>

<para><replaceable>{Introduction}</replaceable></para>

</section>

<section id="s.terminology"><title>Terminology</title>

<para>The key words <glossterm>must</glossterm>, <glossterm>must
not</glossterm>, <glossterm>required</glossterm>,
<glossterm>shall</glossterm>, <glossterm>shall not</glossterm>,
<glossterm>should</glossterm>, <glossterm>should not</glossterm>,
<glossterm>recommended</glossterm>, <glossterm>may</glossterm>, and
<glossterm>optional</glossterm> in this document are to be
interpreted as described in <xref linkend="rfc2119"/>.</para>

</section>

<section id="s.docbook.markup">
<title>DocBook Markup</title>

<para><replaceable>{This section is provided to explain and
demonstrate the DocBook markup for OASIS specifications. It is
important to use the markup provided in the template consistently and
to avoid adding new elements or using raw
formatting.}</replaceable></para>

<para><replaceable>{Delete this entire section when using this sample
document to begin a new specification.}</replaceable></para>

<section id="s.docbook.style">
<title>Overall Style</title>

<para>The role of DocBook is to identify the semantic elements of your document;
to say what things <emphasis>are</emphasis>, not how they should be formatted.</para>

<para>When DocBook is transformed to HTML for rendering, CSS is used
to provide most of the visual styling information. For transformation
to print, the styling is controlled more closely by the XSLT
stylesheet.</para>

<para>OASIS specifications are DocBook <sgmltag>article</sgmltag>s. Each article
must have introductory metadata and may contain any number of
<sgmltag>section</sgmltag> elements followed optionally by
<sgmltag>appendix</sgmltag>, <sgmltag>glossary</sgmltag>,
<sgmltag>bibliography</sgmltag>, and <sgmltag>index</sgmltag> elements.
</para>

</section>

<section id="s.docbook.sections">
<title>Sections</title>

<para>A specification can be divided into sections with the
<sgmltag>section</sgmltag> element. Sections are recursive.
Section numbering is provided by the stylesheet, authors should not insert
section numbers manually.</para>

</section>

<section id="s.docbook.lists">
<title>Lists</title>

<para>DocBook provides several list styles:</para>

<itemizedlist>
<listitem><para><sgmltag>orderedlist</sgmltag>, for numbered lists.</para></listitem>
<listitem><para><sgmltag>itemizedlist</sgmltag>, for bulleted lists.</para></listitem>
<listitem><para><sgmltag>variablelist</sgmltag>, for definition lists.</para></listitem>
<listitem><para><sgmltag>simplelist</sgmltag>, for inline and simple, tabular lists.</para></listitem>
<listitem><para><sgmltag>glosslist</sgmltag>, for glossary terms outside of the
<sgmltag>glossary</sgmltag>.</para></listitem>
</itemizedlist>

</section>

<section id="s.docbook.code">
<title>Code Examples</title>

<para>For schema and other code examples, use the
<sgmltag>programlisting</sgmltag> element:</para>

<programlisting>
1234567890123456789012345678901234567890123456789012345678901234567890
         1         2         3         4         5         6
<![CDATA[<simpleType name="DecisionType">
    <restriction base="string">
        <enumeration value="Permit"/>
        <enumeration value="Deny"/>
        <enumeration value="Indeterminate"/>
    </restriction>
</simpleType>]]></programlisting>

<para>For small, non-normative code fragments,
<sgmltag>screen</sgmltag> is appropriate:</para>

<screen>A small
code example</screen>

<para>To format code examples so that they will be highlighted more
distinctly in the presentation, use <sgmltag>informalexample</sgmltag>:</para>

<informalexample>
<programlisting>
1234567890123456789012345678901234567890123456789012345678901234567890
         1         2         3         4         5         6
<![CDATA[<simpleType name="DecisionType">
    <restriction base="string">
        <enumeration value="Permit"/>
        <enumeration value="Deny"/>
        <enumeration value="Indeterminate"/>
    </restriction>
</simpleType>]]></programlisting>
</informalexample>

<para>Alternatively, to create formal figures or examples, with numbers
and titles, use <sgmltag>figure</sgmltag> or <sgmltag>example</sgmltag>,
respectively.</para>

</section>

<section id="s.docbook.inline">
<title>Inline Elements</title>

<para>DocBook provides a whole host of inline elements, many of which may
be appropriate for your specification. Consider, in particular,
<simplelist type="inline">
<member><sgmltag>computeroutput</sgmltag></member>
<member><sgmltag>emphasis</sgmltag></member>
<member><sgmltag>literal</sgmltag></member>
<member><sgmltag>markup</sgmltag></member>
<member><sgmltag>phrase</sgmltag></member>
<member><sgmltag>quote</sgmltag></member>
<member><sgmltag>replaceable</sgmltag></member>
<member><sgmltag>sgmltag</sgmltag></member>
<member><sgmltag>sgmltag</sgmltag></member>
<member><sgmltag>userinput</sgmltag></member>
</simplelist>.
</para>
</section>

<section id="s.docbook.metadata">
<title>DocBook Metadata</title>

<para>Within an article, the <sgmltag>articleinfo</sgmltag> element
provides a wrapper for metadata. Each of the required metadata
elements should be encoded as follows:</para>

<variablelist>
<?dbfo list-presentation="blocks"?>
<varlistentry><term>Title</term>
<listitem>
<para>In the <sgmltag>title</sgmltag> element.
</para>
</listitem>
</varlistentry>

<varlistentry><term>Editorial Status</term>
<listitem>
<para>In the <sgmltag class="attribute">status</sgmltag> attribute
of the <sgmltag>article</sgmltag> (or <sgmltag>book</sgmltag>, etc.)
element.
</para>
</listitem>
</varlistentry>

<varlistentry><term>Publication Date</term>
<listitem>
<para>In the <sgmltag>pubdate</sgmltag> element.
</para>
</listitem>
</varlistentry>

<varlistentry><term>Document Identifier</term>
<listitem>
<para>The document identifier is a combination of several elements.
The base identifier (everything except the version) must be stored in
the <sgmltag>productname</sgmltag> element.</para>

<para>The version number must be stored in the
<sgmltag>productnumber</sgmltag> element.</para>

<para>Pointers to releases of the document in different formats must
be encoded using <sgmltag>ulink</sgmltag> in <sgmltag>releaseinfo</sgmltag>
elements with a <sgmltag class="attribute">role</sgmltag> attribute of
<quote><literal>product</literal></quote>, as follows:</para>

<informalexample>
<programlisting>&lt;releaseinfo role="product">&lt;ulink url="<replaceable>url</replaceable>"><replaceable>Format</replaceable>&lt;/ulink>&lt;/releaseinfo></programlisting>
</informalexample>
</listitem>
</varlistentry>

<varlistentry><term>Location</term>
<listitem>
<para>In the <sgmltag>releaseinfo</sgmltag> element with a
<sgmltag class="attribute">role</sgmltag> attribute value
of <quote><literal>location</literal></quote>.
</para>
</listitem>
</varlistentry>

<varlistentry><term>Editor(s), Author(s), and Contributor(s)</term>
<listitem>
<para>These individuals should be stored collectively in the
<sgmltag>authorgroup</sgmltag> element. The <sgmltag>editor</sgmltag>,
<sgmltag>author</sgmltag>, and <sgmltag>othercredit</sgmltag> elements must
be used for editors, authors, and contributors, respectively.</para>

<para>Markup for an editor with an affiliation and an email address must
be encoded this way:</para>

<informalexample>
<programlisting><![CDATA[<editor>
  <firstname>Jane</firstname><surname>Doe</surname>
  <affiliation>
    <orgname>Example Corporation</orgname>
    <address><email>jane.doe@example.com</email></address>
  </affiliation>
</editor>]]></programlisting>
</informalexample>

<para>The <sgmltag>orgname</sgmltag> can be omited if the individuals corporate
affiliation is irrelevant. The <sgmltag>address</sgmltag> and <sgmltag>email</sgmltag>
elements can also be omited if they are irrelevant. The <sgmltag>author</sgmltag>
and <sgmltag>othercredit</sgmltag> elements are analagous.</para>
</listitem>
</varlistentry>

<varlistentry><term>Abstract</term>
<listitem>
<para>In the <sgmltag>abstract</sgmltag> element.
</para>
</listitem>
</varlistentry>

<varlistentry><term>Status</term>
<listitem>
<para>In the <sgmltag>legalnotice</sgmltag> element with a
<sgmltag class="attribute">role</sgmltag> attribute value of
<quote><literal>status</literal></quote>.
</para>
</listitem>
</varlistentry>

<varlistentry><term>Copyright</term>
<listitem>
<para>In the <sgmltag>copyright</sgmltag> element.
</para>
</listitem>
</varlistentry>

<varlistentry><term>Notices</term>
<listitem>
<para>In an <sgmltag>appendix</sgmltag>. If a committee wishes to place some
or all of the notices on the copyright page, they must be encoded in a
<sgmltag>legalnotice</sgmltag> element.
</para>
</listitem>
</varlistentry>
</variablelist>

</section>
</section>

<appendix id="a.committee" role="non-normative">
<title>Committee Members</title>

<para>The following individuals were members of the committee during
the formulation of this document:</para>

<itemizedlist>
<listitem><para>Mary Baker</para></listitem>
<listitem><para>Jane Doe, Example Corporation</para></listitem>
<listitem><para>John Able, Other Example Corporation</para></listitem>
</itemizedlist>

</appendix>

<appendix id="a.notices">
<title>Notices</title>

<para>Copyright &#169; The Organization for the Advancement of
Structured Information Standards [OASIS] 2001, 2002. All Rights
Reserved.</para>

<para>OASIS takes no position regarding the validity
or scope of any intellectual property or other rights
that might be claimed to pertain to the implementation
or use of the technology described in this document
or the extent to which any license under such rights
might or might not be available; neither does it represent
that it has made any effort to identify any such rights.
Information on OASIS's procedures with respect to rights
in OASIS specifications can be found at the OASIS website.
Copies of claims of rights made available for publication
and any assurances of licenses to be made available,
or the result of an attempt made to obtain a general
license or permission for the use of such proprietary
rights by implementors or users of this specification,
can be obtained from the OASIS Executive Director.</para>

<para>OASIS invites any interested party to bring to
its attention any copyrights, patents or patent applications,
or other proprietary rights which may cover technology
that may be required to implement this specification.
Please address the information to the OASIS Executive
Director.</para>

<para>This document and translations of it may be copied
and furnished to others, and derivative works that comment
on or otherwise explain it or assist in its implementation
may be prepared, copied, published and distributed,
in whole or in part, without restriction of any kind,
provided that the above copyright notice and this paragraph
are included on all such copies and derivative works.
However, this document itself may not be modified in
any way, such as by removing the copyright notice or
references to OASIS, except as needed for the purpose
of developing OASIS specifications, in which case the
procedures for copyrights defined in the OASIS Intellectual
Property Rights document must be followed, or as required
to translate it into languages other than English.</para>

<para>The limited permissions granted above are perpetual
and will not be revoked by OASIS or its successors or
assigns.</para>

<para>This document and the information contained herein
is provided on an <quote>AS IS</quote> basis and OASIS DISCLAIMS
ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES
OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</para>

<para>OASIS has been notified of intellectual property
rights claimed in regard to some or all of the contents
of this specification. For more information consult
the online list of claimed rights.</para>

</appendix>

<appendix id="a.ipr">
<title>Intellectual Property Rights</title>

<para>For information on wether any patents have been disclosed that may be
essential to implementing this specification, and any offers of patent
licensing terms, please refer to the Intellectual Property Rights section
of the {technical-committee} web page
(<ulink url="http://www.oasis-open.org/committees/{technical-committee}"/>)
</para>

</appendix>

<appendix id="a.revhistory">
<title>Revision History</title>

<para>
<revhistory>
<revision>
<revnumber>03</revnumber>
<date>15 Aug 2002</date>
<authorinitials>ndw</authorinitials>
<revremark>Changed copyright holder.</revremark>
</revision>
<revision>
<revnumber>02</revnumber>
<date>28 May 2002</date>
<authorinitials>ndw</authorinitials>
<revremark>Added IPR section.</revremark>
</revision>
<revision>
<revnumber>01</revnumber>
<date>26 Apr 2002</date>
<authorinitials>ndw</authorinitials>
<revremark>Reworked after conversations with Eve.</revremark>
</revision>
<revision>
<revnumber>00</revnumber>
<date>25 Apr 2002</date>
<authorinitials>ndw</authorinitials>
<revremark>First draft.</revremark>
</revision>
</revhistory>
</para>

</appendix>

<bibliography id="bibl"><title>References</title>

<bibliodiv><title>Normative</title>

<bibliomixed id="rfc2119"><abbrev>RFC 2119</abbrev>S. Bradner.
<citetitle><ulink url="http://www.ietf.org/rfc/rfc2119.txt">RFC 2119:
Key words for use in RFCs to Indicate Requirement Levels</ulink></citetitle>.
IETF (Internet Engineering Task Force). 1997.</bibliomixed>

</bibliodiv>

</bibliography>

</article>
