šablona/makra/tabulka.xsl
changeset 90 ae439159d833
parent 71 895757141bff
child 111 d59023a42d4b
equal deleted inserted replaced
89:86e00409add5 90:ae439159d833
    66 				<xsl:for-each select="tokenize($tělo, '\n')">
    66 				<xsl:for-each select="tokenize($tělo, '\n')">
    67 					<xsl:if test="normalize-space(.)">
    67 					<xsl:if test="normalize-space(.)">
    68 						<tr>
    68 						<tr>
    69 							<xsl:for-each select="tokenize(., $oddělovač)">
    69 							<xsl:for-each select="tokenize(., $oddělovač)">
    70 								<xsl:if test="normalize-space(.)">
    70 								<xsl:if test="normalize-space(.)">
    71 									<td><xsl:value-of select="normalize-space(.)"/></td>
    71 									<xsl:element name="td">
       
    72 										<xsl:if test="number(normalize-space(.))">
       
    73 											<xsl:attribute name="class">číslo</xsl:attribute>
       
    74 										</xsl:if>
       
    75 										<xsl:value-of select="normalize-space(.)"/>
       
    76 									</xsl:element>
    72 								</xsl:if>
    77 								</xsl:if>
    73 							</xsl:for-each>
    78 							</xsl:for-each>
    74 						</tr>
    79 						</tr>
    75 					</xsl:if>
    80 					</xsl:if>
    76 				</xsl:for-each>
    81 				</xsl:for-each>