+ <xsl:when test="@class = 'exercise.choice' or @class = 'exercise.choice.single'">
+ <cwiczenie typ="wybor">
+ <xsl:call-template name="cwiczenie"/>
+ </cwiczenie>
+ </xsl:when>
+ <xsl:when test="@class = 'exercise.match'">
+ <cwiczenie typ="przyporzadkuj">
+ <xsl:call-template name="cwiczenie"/>
+ </cwiczenie>
+ </xsl:when>
+ <xsl:when test="@class = 'exercise.gap'">
+ <cwiczenie typ="luki">
+ <xsl:choose>
+ <xsl:when test="div[1]/aside[@class = 'gap']">
+ <opis><akap>Uzupełnij luki:</akap></opis>
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <opis><xsl:apply-templates select="*[1]"/></opis>
+ <xsl:apply-templates select="*[position() > 1]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </cwiczenie>
+ </xsl:when>
+ <xsl:when test="@class = 'exercise.replace'">
+ <cwiczenie typ="zastap">
+ <xsl:choose>
+ <xsl:when test="div[1]/aside[@class = 'gap']">
+ <opis><akap>Znajdź i zamień niepasujące słowa w zdaniach na następujące:</akap></opis>
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <opis><xsl:apply-templates select="*[1]"/></opis>
+ <xsl:apply-templates select="*[position() > 1]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </cwiczenie>
+ </xsl:when>
+ <xsl:when test="@class = 'table'">
+ <tabela ramki="0">
+ <xsl:apply-templates/>
+ </tabela>
+ </xsl:when>
+ <xsl:when test="@class = 'table.row'">
+ <wiersz><xsl:apply-templates/></wiersz>
+ </xsl:when>
+ <xsl:when test="@class = 'table.cell'">
+ <kol><xsl:apply-templates/></kol>
+ </xsl:when>
+ <xsl:when test="@class = 'verse'">
+ <strofa><xsl:apply-templates/></strofa>
+ </xsl:when>