1.1 --- a/šablona/stránka.xsl Sat Apr 02 23:54:23 2011 +0200
1.2 +++ b/šablona/stránka.xsl Sun Apr 03 00:07:44 2011 +0200
1.3 @@ -12,7 +12,6 @@
1.4 encoding="UTF-8"
1.5 doctype-public="-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
1.6 doctype-system="http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"/>
1.7 -
1.8
1.9 <xsl:template match="/">
1.10 <html>
1.11 @@ -20,14 +19,10 @@
1.12 <title><xsl:value-of select="g:stránka/g:nadpis"/></title>
1.13 </head>
1.14 <body>
1.15 - <h1><xsl:value-of select="g:stránka/g:nadpis"/></h1>
1.16 -
1.17 - <!-- Vložíme obsah stránky: -->
1.18 + <xsl:apply-templates select="document(fn:encode-for-uri('../vstup/záhlaví.inc'))/g:stránka/h:text/node()"/>
1.19 + <h1><xsl:value-of select="g:stránka/g:nadpis"/></h1>
1.20 <xsl:apply-templates select="g:stránka/h:text/node()"/>
1.21 -
1.22 - <!-- Vložíme zápatí: -->
1.23 - <xsl:apply-templates select="document(fn:encode-for-uri('../vstup/zápatí.inc'))/g:stránka/h:text/node()"/>
1.24 -
1.25 + <xsl:apply-templates select="document(fn:encode-for-uri('../vstup/zápatí.inc'))/g:stránka/h:text/node()"/>
1.26 </body>
1.27 </html>
1.28 </xsl:template>