</div>
</xsl:template>
- <xsl:template match="motto">
- <div class="motto" xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:template match="ramka">
+ <div class="frame" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
</div>
</xsl:template>
- <xsl:template match="ilustr" mode="inline">
- <xsl:apply-templates select="." />
+ <xsl:template match="motto">
+ <div class="motto" xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:apply-templates />
+ </div>
</xsl:template>
<xsl:template match="ilustr">
</xsl:template>
<xsl:template match="tabela|tabelka">
- <table xmlns="http://www.w3.org/1999/xhtml">
- <xsl:apply-templates />
- </table>
+ <xsl:choose>
+ <xsl:when test="@ramka = '1'">
+ <table class="border" xmlns="http://www.w3.org/1999/xhtml"><xsl:apply-templates /></table>
+ </xsl:when>
+ <xsl:otherwise>
+ <table xmlns="http://www.w3.org/1999/xhtml"><xsl:apply-templates /></table>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="wiersz">
<tr xmlns="http://www.w3.org/1999/xhtml">