+ <xsl:when test="@class = 'img'">
+ <obraz nazwa="{@name}" alt="{@alt}"/>
+ </xsl:when>
+ <xsl:when test="@class = 'video'">
+ <video url="{@src}"/>
+ </xsl:when>
+ <xsl:when test="@class = 'label'">
+ <podpis>
+ <xsl:apply-templates/>
+ </podpis>
+ </xsl:when>
+ <xsl:when test="@class = 'solution.comment'">
+ <rozw_kom>
+ <xsl:apply-templates/>
+ </rozw_kom>
+ </xsl:when>
+ <xsl:when test="@class = 'important'">
+ <dlugi_cytat>
+ <xsl:apply-templates/>
+ </dlugi_cytat>
+ </xsl:when>
+ <xsl:when test="@class = 'exercise.order'">
+ <cwiczenie typ="uporzadkuj">
+ <xsl:call-template name="cwiczenie"/>
+ </cwiczenie>
+ </xsl:when>
+ <xsl:when test="@class = 'exercise.choice.true-or-false'">
+ <cwiczenie typ="prawdafalsz">
+ <xsl:call-template name="cwiczenie"/>
+ </cwiczenie>
+ </xsl:when>
+ <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>