titlepages.xsl revision c6d74b3d58e0a9b254cc780bac0c8710c25eef19
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:d="http://docbook.org/ns/docbook" version="1.0" exclude-result-prefixes="exsl d">
<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. -->
<xsl:choose>
<xsl:when test="d:articleinfo/d:title">
</xsl:when>
<xsl:when test="d:artheader/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:articleinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:artheader/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:authorgroup"/>
<xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:othercredit"/>
<xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:releaseinfo"/>
<xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:legalnotice"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" keep-with-next.within-column="always" font-size="20pt" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:article[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:setinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:setinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" text-align="center" font-size="20pt" space-before="15pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:with-param name="node" select="ancestor-or-self::d:set[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:bookinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:bookinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
<xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
</xsl:template>
</xsl:template>
<xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20pt" space-before="15pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:with-param name="node" select="ancestor-or-self::d:book[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="16pt" space-before="12pt" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="14pt" keep-with-next.within-column="always" space-before="2in">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" space-before="2in">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="14pt" space-before="9pt" keep-with-next.within-column="always">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1in" font-size="4pt">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:partinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:partinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="16pt" space-before="12pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:with-param name="node" select="ancestor-or-self::d:part[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="14pt" space-before="10.5pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:partintroinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:partintroinfo/d:subtitle">
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:corpauthor"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:authorgroup"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:othercredit"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:releaseinfo"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:copyright"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:legalnotice"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:pubdate"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:revision"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:revhistory"/>
<xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:abstract"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="16pt" font-weight="bold" space-before="1em" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="12pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:referenceinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:referenceinfo/d:subtitle">
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:corpauthor"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:authorgroup"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:othercredit"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:releaseinfo"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:copyright"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:legalnotice"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:pubdate"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:revision"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:revhistory"/>
<xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:abstract"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" text-align="center" font-size="16pt" space-before="12pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:with-param name="node" select="ancestor-or-self::d:reference[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:refsynopsisdivinfo/d:title">
<xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:refsynopsisdivinfo/d:title"/>
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:refsectioninfo/d:title">
<xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:refsectioninfo/d:title"/>
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:refsect1info/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:refsect2info/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:refsect3info/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:dedication[1]"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:dedicationinfo/d:subtitle">
<xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:dedicationinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:acknowledgements[1]"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:acknowledgementsinfo/d:subtitle">
<xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:acknowledgementsinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
<xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:preface[1]"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:prefaceinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:authorgroup"/>
<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:othercredit"/>
<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:releaseinfo"/>
<xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:legalnotice"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:chapterinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:chapterinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:authorgroup"/>
<xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:othercredit"/>
<xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:releaseinfo"/>
<xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:legalnotice"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="16pt" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:chapter[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" font-style="italic" font-size="12pt" font-weight="bold">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:appendixinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:appendixinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:corpauthor"/>
<xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:authorgroup"/>
<xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:othercredit"/>
<xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:releaseinfo"/>
<xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:copyright"/>
<xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:legalnotice"/>
<xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:revhistory"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="16pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:with-param name="node" select="ancestor-or-self::d:appendix[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:sectioninfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:sectioninfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:authorgroup"/>
<xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:othercredit"/>
<xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:releaseinfo"/>
<xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:legalnotice"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:sect1info/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:sect1info/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:sect2info/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:sect2info/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:sect3info/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:sect3info/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:sect4info/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:sect4info/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:sect5info/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:sect5info/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:simplesectinfo/d:title">
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:title"/>
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:simplesectinfo/d:subtitle">
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:corpauthor"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:authorgroup"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:author"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:othercredit"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:releaseinfo"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:copyright"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:legalnotice"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:pubdate"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:revision"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:revhistory"/>
<xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:abstract"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:bibliography[1]"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:bibliographyinfo/d:subtitle">
<xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:bibliographyinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:bibliodivinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:bibliodivinfo/d:subtitle">
<xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:bibliodivinfo/d:subtitle"/>
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="14pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:bibliodiv[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:glossary[1]"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:glossaryinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:glossdivinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:glossdivinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="14pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:glossdiv[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="0pt" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:index[1]"/>
<xsl:with-param name="pagewide" select="1"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:indexinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style">
<xsl:with-param name="title" select="d:title"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:indexdivinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" margin-left="0pt" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:setindex[1]"/>
<xsl:with-param name="pagewide" select="1"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:setindexinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="16pt" font-family="{$title.fontset}" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:colophon[1]"/>
</xsl:call-template></fo:block>
<xsl:choose>
<xsl:when test="d:colophoninfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:sidebarinfo/d:title">
</xsl:when>
<xsl:when test="d:docinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:sidebarinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:docinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}" font-weight="bold">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}">
</fo:block>
</xsl:template>
<xsl:choose>
<xsl:when test="d:qandasetinfo/d:title">
</xsl:when>
<xsl:when test="d:blockinfo/d:title">
</xsl:when>
<xsl:when test="d:info/d:title">
</xsl:when>
<xsl:when test="d:title">
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="d:qandasetinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:blockinfo/d:subtitle">
</xsl:when>
<xsl:when test="d:info/d:subtitle">
</xsl:when>
<xsl:when test="d:subtitle">
</xsl:when>
</xsl:choose>
<xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:corpauthor"/>
<xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:authorgroup"/>
<xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:othercredit"/>
<xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:releaseinfo"/>
<xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:copyright"/>
<xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:legalnotice"/>
<xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:revhistory"/>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" keep-with-next.within-column="always" font-size="16pt" font-weight="bold">
<xsl:with-param name="node" select="ancestor-or-self::d:qandaset[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="12pt">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
</fo:block>
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="table.of.contents.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="14pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'TableofContents'"/>
</xsl:call-template></fo:block>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="14pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'ListofTables'"/>
</xsl:call-template></fo:block>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="14pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'ListofFigures'"/>
</xsl:call-template></fo:block>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="14pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'ListofExamples'"/>
</xsl:call-template></fo:block>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="14pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'ListofEquations'"/>
</xsl:call-template></fo:block>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="14pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'ListofProcedures'"/>
</xsl:call-template></fo:block>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="14pt" font-weight="bold" font-family="{$title.fontset}">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'ListofUnknown'"/>
</xsl:call-template></fo:block>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:template>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
<xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
</xsl:if>
</fo:block>
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
<!-- if an element isn't found in this mode, -->
<!-- try the generic titlepage.mode -->
</xsl:template>
</xsl:stylesheet>