<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
	     xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
             xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!-- ==================================================================== -->

<t:titlepage element="article" wrapper="div" class="titlepage">
  <t:titlepage-content side="recto">
    <title/>
    <subtitle/>
    <pubdate/>
    <productname/>
    <releaseinfo/>
    <authorgroup/>
    <legalnotice predicate="[not(@role) or @role!='status']"/>
    <abstract/>
    <legalnotice predicate="[@role='status']"/>
    <copyright/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
      <p class="logo">
	<a href="http://www.oasis-open.org/">
	  <img src="{$oasis.logo}" alt="OASIS" border="0"/>
	</a>
      </p>
  </t:titlepage-before>

  <t:titlepage-before side="verso">
      <hr/>
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="appendix" wrapper="div" class="titlepage">
  <t:titlepage-content side="recto">
    <title/>
    <subtitle/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="section" wrapper="div" class="titlepage">
  <t:titlepage-content side="recto">
    <title named-template="section.title"/>
    <subtitle/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <releaseinfo/>
    <copyright/>
    <legalnotice/>
    <pubdate/>
    <revision/>
    <revhistory/>
    <abstract/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="bibliography" wrapper="div" class="titlepage">
  <t:titlepage-content side="recto">
    <title force="1"
	   named-template="component.title"
	   param:node="ancestor-or-self::bibliography[1]"/>
    <subtitle/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="glossary" wrapper="div" class="titlepage">
  <t:titlepage-content side="recto">
    <title force="1"
	   named-template="component.title"
	   param:node="ancestor-or-self::glossary[1]"/>
    <subtitle/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

<t:titlepage element="index" wrapper="div" class="titlepage">
  <t:titlepage-content side="recto">
    <title force="1"
	   named-template="component.title"
	   param:node="ancestor-or-self::index[1]"/>
    <subtitle/>
  </t:titlepage-content>

  <t:titlepage-content side="verso">
  </t:titlepage-content>

  <t:titlepage-separator>
  </t:titlepage-separator>

  <t:titlepage-before side="recto">
  </t:titlepage-before>

  <t:titlepage-before side="verso">
  </t:titlepage-before>
</t:titlepage>

<!-- ==================================================================== -->

</t:templates>
