--- a/šablona/stránka.xsl Thu Jan 05 16:00:01 2012 +0100
+++ b/šablona/stránka.xsl Thu Jan 05 16:19:22 2012 +0100
@@ -227,8 +227,10 @@
<xsl:variable name="tělo" select="substring-after($data, ' ')"/>
<thead>
<tr>
- <xsl:for-each select="tokenize($hlavička, ';')">
- <td><xsl:value-of select="normalize-space(.)"/></td>
+ <xsl:for-each select="tokenize($hlavička, '\t')">
+ <xsl:if test="normalize-space(.)">
+ <td><xsl:value-of select="normalize-space(.)"/></td>
+ </xsl:if>
</xsl:for-each>
</tr>
</thead>
@@ -236,8 +238,10 @@
<xsl:for-each select="tokenize($tělo, '\n')">
<xsl:if test="normalize-space(.)">
<tr>
- <xsl:for-each select="tokenize(., ';')">
- <td><xsl:value-of select="normalize-space(.)"/></td>
+ <xsl:for-each select="tokenize(., '\t')">
+ <xsl:if test="normalize-space(.)">
+ <td><xsl:value-of select="normalize-space(.)"/></td>
+ </xsl:if>
</xsl:for-each>
</tr>
</xsl:if>