šablona/makra/tabulka.xsl
changeset 90 ae439159d833
parent 71 895757141bff
child 111 d59023a42d4b
--- a/šablona/makra/tabulka.xsl	Wed Feb 08 10:16:04 2012 +0100
+++ b/šablona/makra/tabulka.xsl	Wed Feb 08 10:16:39 2012 +0100
@@ -68,7 +68,12 @@
 						<tr>
 							<xsl:for-each select="tokenize(., $oddělovač)">
 								<xsl:if test="normalize-space(.)">
-									<td><xsl:value-of select="normalize-space(.)"/></td>
+									<xsl:element name="td">
+										<xsl:if test="number(normalize-space(.))">
+											<xsl:attribute name="class">číslo</xsl:attribute>
+										</xsl:if>
+										<xsl:value-of select="normalize-space(.)"/>
+									</xsl:element>
 								</xsl:if>
 							</xsl:for-each>
 						</tr>