šablona/makra/tabulka.xsl
changeset 71 895757141bff
parent 70 032c62852ef1
child 90 ae439159d833
--- a/šablona/makra/tabulka.xsl	Sat Jan 07 19:39:28 2012 +0100
+++ b/šablona/makra/tabulka.xsl	Sat Jan 07 20:09:44 2012 +0100
@@ -17,10 +17,10 @@
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 -->
 <xsl:stylesheet version="2.0"
-xmlns="http://www.w3.org/1999/xhtml"
-xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-exclude-result-prefixes="m">
+	xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	exclude-result-prefixes="m">
 
 	<!--
 		Jednoduché tabulky
@@ -41,7 +41,7 @@
 	
 	<xsl:template match="m:tabulka[@src]">
 		<xsl:call-template name="vykresliTabulku">
-			<xsl:with-param name="zadání" select="unparsed-text(concat('../', $vstup, @src))"/>
+			<xsl:with-param name="zadání" select="m:načti-textový-soubor(@src)"/>
 			<xsl:with-param name="oddělovač" select="(@oddělovač, ';')[1]"/>
 		</xsl:call-template>
 	</xsl:template>