Tabulek #15: více tabulátorů.
authorFrantišek Kučera <franta-hg@frantovo.cz>
Thu Jan 05 16:24:56 2012 +0100 (2012-01-05)
changeset 50ae8222d2c903
parent 49 0be359e4c06f
child 51 df1f942f7b69
Tabulek #15: více tabulátorů.
šablona/stránka.xsl
     1.1 --- a/šablona/stránka.xsl	Thu Jan 05 16:19:22 2012 +0100
     1.2 +++ b/šablona/stránka.xsl	Thu Jan 05 16:24:56 2012 +0100
     1.3 @@ -227,7 +227,7 @@
     1.4      		<xsl:variable name="tělo" select="substring-after($data, '&#10;')"/>
     1.5      		<thead>
     1.6      			<tr>
     1.7 -    				<xsl:for-each select="tokenize($hlavička, '\t')">
     1.8 +    				<xsl:for-each select="tokenize($hlavička, '\t+')">
     1.9      					<xsl:if test="normalize-space(.)">
    1.10  							<td><xsl:value-of select="normalize-space(.)"/></td>
    1.11  						</xsl:if>
    1.12 @@ -238,7 +238,7 @@
    1.13  				<xsl:for-each select="tokenize($tělo, '\n')">
    1.14  					<xsl:if test="normalize-space(.)">
    1.15  						<tr>
    1.16 -							<xsl:for-each select="tokenize(., '\t')">
    1.17 +							<xsl:for-each select="tokenize(., '\t+')">
    1.18  								<xsl:if test="normalize-space(.)">
    1.19  									<td><xsl:value-of select="normalize-space(.)"/></td>
    1.20  								</xsl:if>