Changeset 3:1529a89b61a5

Show
Ignore:
Timestamp:
04/03/11 00:07:44 (13 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

vkládáme i záhlaví, #6

Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • šablona/stránka.xsl

    r2 r3  
    1313                doctype-public="-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"  
    1414                doctype-system="http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"/> 
    15                  
    1615         
    1716        <xsl:template match="/"> 
     
    2120                        </head> 
    2221                        <body> 
    23                                 <h1><xsl:value-of select="g:stránka/g:nadpis"/></h1>                             
    24                          
    25                                 <!-- Vložíme obsah stránky: -->                          
     22                                <xsl:apply-templates select="document(fn:encode-for-uri('../vstup/záhlaví.inc'))/g:stránka/h:text/node()"/>                      
     23                                <h1><xsl:value-of select="g:stránka/g:nadpis"/></h1> 
    2624                                <xsl:apply-templates select="g:stránka/h:text/node()"/> 
    27                                  
    28                                 <!-- Vložíme zápatí: --> 
    29                                 <xsl:apply-templates select="document(fn:encode-for-uri('../vstup/zápatí.inc'))/g:stránka/h:text/node()"/> 
    30                                  
     25                                <xsl:apply-templates select="document(fn:encode-for-uri('../vstup/zápatí.inc'))/g:stránka/h:text/node()"/>                               
    3126                        </body> 
    3227                </html>