param>
<xsl:if test="$pageclass != 'titlepage'">
<xsl:choose>
<xsl:when test="(($sequence='first' and $pageclass!='index')
or $pageclass='mybook-titlepage')">
</xsl:when>
<xsl:when test="($sequence='odd' and $position='left') or
($sequence='even' and $position='right')"></xsl:when>
<xsl:when test="($sequence='even' and $position='center')">
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:when>
<xsl:when test="($sequence='odd' and $position='center')">
<fo:retrieve-marker retrieve-class-name="section.head.marker"
retrieve-position="first-including-carryover"
retrieve-boundary="page-sequence"/>
</xsl:when>
<!-- note the following only works for the index first page ... -->
<xsl:when test="($sequence='odd' and $position='right') or
($sequence='even' and $position='left') or
($sequence='first' and $pageclass='index' and $position='right') or
($sequence='first' and $pageclass='lot' and $position='right') or
($sequence='first' and $pageclass='body' and $position='right') or
($sequence='first' and $pageclass='back' and $position='right')">
<fo:page-number/>
</xsl:when>
</xsl:choose>
</xsl:if>
</xsl:template>
Any guidance would be greatly appreciated ...