Show
Ignore:
Timestamp:
02/08/12 10:16:39 (12 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

#15 Tabulky: čísla budou zarovnaná doprava

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • šablona/makra/tabulka.xsl

    r71 r90  
    6969                                                        <xsl:for-each select="tokenize(., $oddělovač)"> 
    7070                                                                <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> 
    7277                                                                </xsl:if> 
    7378                                                        </xsl:for-each>