šablona/makra/tabulka.xsl
changeset 71 895757141bff
parent 70 032c62852ef1
child 90 ae439159d833
equal deleted inserted replaced
70:032c62852ef1 71:895757141bff
    15 
    15 
    16 You should have received a copy of the GNU General Public License
    16 You should have received a copy of the GNU General Public License
    17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
    17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
    18 -->
    18 -->
    19 <xsl:stylesheet version="2.0"
    19 <xsl:stylesheet version="2.0"
    20 xmlns="http://www.w3.org/1999/xhtml"
    20 	xmlns="http://www.w3.org/1999/xhtml"
    21 xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
    21 	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
    22 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    22 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    23 exclude-result-prefixes="m">
    23 	exclude-result-prefixes="m">
    24 
    24 
    25 	<!--
    25 	<!--
    26 		Jednoduché tabulky
    26 		Jednoduché tabulky
    27 		******************
    27 		******************
    28 		Data zadáváme do těla elementu.
    28 		Data zadáváme do těla elementu.
    39 		</xsl:call-template>
    39 		</xsl:call-template>
    40 	</xsl:template>
    40 	</xsl:template>
    41 	
    41 	
    42 	<xsl:template match="m:tabulka[@src]">
    42 	<xsl:template match="m:tabulka[@src]">
    43 		<xsl:call-template name="vykresliTabulku">
    43 		<xsl:call-template name="vykresliTabulku">
    44 			<xsl:with-param name="zadání" select="unparsed-text(concat('../', $vstup, @src))"/>
    44 			<xsl:with-param name="zadání" select="m:načti-textový-soubor(@src)"/>
    45 			<xsl:with-param name="oddělovač" select="(@oddělovač, ';')[1]"/>
    45 			<xsl:with-param name="oddělovač" select="(@oddělovač, ';')[1]"/>
    46 		</xsl:call-template>
    46 		</xsl:call-template>
    47 	</xsl:template>
    47 	</xsl:template>
    48 	
    48 	
    49 	<xsl:template name="vykresliTabulku">
    49 	<xsl:template name="vykresliTabulku">