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

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

<t:titlepage element="article" wrapper="fo:block">
  <t:titlepage-content side="recto">
    <title named-template="component.title"
           param:node="ancestor-or-self::article[1]"
           fo:keep-with-next="always"
	   fo:space-before="0.75in"
           fo:font-size="25pt"
           fo:font-weight="bold"
           fo:font-family="{$title.font.family}"/>
    <subtitle fo:font-family="{$title.font.family}"/>
    <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">
    <fo:block>
      <fo:external-graphic src="{$oasis.logo}"/>
    </fo:block>
  </t:titlepage-before>

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

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

  <t:titlepage element="appendix" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     named-template="component.title"
	     param:node="ancestor-or-self::appendix[1]"
	     fo:margin-left="{$title.margin.left}"
	     fo:font-size="14pt"
	     fo:font-weight="bold"
	     fo:font-family="{$title.font.family}"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
      <corpauthor/>
      <authorgroup/>
      <author/>
      <othercredit/>
      <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="fo:block">
  <t:titlepage-content side="recto">
    <title
	   fo:margin-left="{$title.margin.left}"
	   fo:font-family="{$title.font.family}"/>
    <subtitle
	      fo:font-family="{$title.font.family}"/>
    <corpauthor/>
    <authorgroup/>
    <author/>
    <othercredit/>
    <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="bibliography" wrapper="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::bibliography[1]"
	     fo:margin-left="{$title.margin.left}"
	     fo:font-size="14pt"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
    </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="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::glossary[1]"
	     fo:margin-left="{$title.margin.left}"
	     fo:font-size="14pt"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
    </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="fo:block">
    <t:titlepage-content side="recto">
      <title
	     force="1"
	     named-template="component.title"
	     param:node="ancestor-or-self::index[1]"
             param:pagewide="1"
	     fo:margin-left="{$title.margin.left}"
	     fo:font-size="14pt"
	     fo:font-family="{$title.font.family}"
	     fo:font-weight="bold"/>
      <subtitle
		fo:font-family="{$title.font.family}"/>
    </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>
