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