diff --git a/transkription.xsl b/transkription.xsl index cb1f623749ec8e6ba53c41bd2cf8a398f7d32c21..afcb706a455c5e7c0d8bb48495804194d5680b47 100644 --- a/transkription.xsl +++ b/transkription.xsl @@ -416,22 +416,14 @@ </xsl:template> <xsl:template match="p[name(./*[1]) ne 'pb']" mode="step3"> - <xsl:choose> - <xsl:when test=".//table"> - <xsl:apply-templates mode="step3"/> - </xsl:when> - <xsl:otherwise> - <div xmlns="http://www.w3.org/1999/xhtml" class="p"> - - <xsl:if test="*[1][local-name() = 'lb']/@xml:id"> - <xsl:attribute name="id" select="*[1][local-name() = 'lb']/@xml:id"/> - </xsl:if> - - <xsl:apply-templates mode="step3"/> - </div> - </xsl:otherwise> + <div xmlns="http://www.w3.org/1999/xhtml" class="p"> - </xsl:choose> + <xsl:if test="*[1][local-name() = 'lb']/@xml:id"> + <xsl:attribute name="id" select="*[1][local-name() = 'lb']/@xml:id"/> + </xsl:if> + + <xsl:apply-templates mode="step3"/> + </div> </xsl:template> <xsl:template match="reg" mode="step3">