<xsl:apply-templatesselect="preceding-sibling::tei:front/* [not(self::tei:div[@type='titlePage'] or self::tei:div[@type='abstract'] or self::tei:div[@type='keywords'] or self::tei:div[@type='funder'])]"/>
<xsl:iftest="not(@type = 'semantic' or @type = 'display' or @type='sec_authority') and not(@rend = 'inline') and not(ancestor::tei:back)">
</xsl:when>
<xsl:otherwise>
<pclass="{local-name()}">
<xsl:apply-templates/>
</p>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -1460,7 +1611,11 @@
<xsl:iftest="@rend">
<xsl:attributename="class"select="@rend"/>
</xsl:if>
<xsl:iftest="(parent::tei:body/tei:p[1] = . or parent::bodyInclusion/tei:p[1] = . or ancestor::tei:floatingText[@type='description']//tei:p[1] = .) and not(preceding-sibling::tei:p[contains(@rend, 'TEI_localpara')])">
<xsl:iftest="(parent::tei:body/tei:p[1] = .
or parent::tei:div[@type='review']/tei:p[1] = .
or parent::bodyInclusion/tei:p[1] = .
or ancestor::tei:floatingText[@type='description']//tei:p[1] = .)
and not(preceding-sibling::tei:p[contains(@rend, 'TEI_localpara')])">