šablona/stránka.xsl
changeset 8 ad0ee12d13fd
parent 6 801a8935caf7
child 10 4e70453a027f
equal deleted inserted replaced
7:5b46493979c9 8:ad0ee12d13fd
    17 	<!-- Celý dokument: -->
    17 	<!-- Celý dokument: -->
    18 	<xsl:template match="/">
    18 	<xsl:template match="/">
    19 		<html>
    19 		<html>
    20 			<head>
    20 			<head>
    21 				<title><xsl:value-of select="g:stránka/g:nadpis"/></title>
    21 				<title><xsl:value-of select="g:stránka/g:nadpis"/></title>
    22 				<link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate" />
    22 				<link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate"/>
    23 				<link title="Novinky (RSS)" href="rss.xml" type="application/atom+xml" rel="alternate" />				
    23 				<link title="Novinky (RSS)"  href="rss.xml"  type="application/rss+xml"  rel="alternate"/>				
    24 			</head>
    24 			</head>
    25 			<body>
    25 			<body>
    26 				<xsl:apply-templates select="document(fn:encode-for-uri('../vstup/záhlaví.inc'))/g:stránka/h:text/node()"/>			
    26 				<xsl:apply-templates select="document(fn:encode-for-uri('../vstup/záhlaví.inc'))/g:stránka/h:text/node()"/>			
    27 				<h1><xsl:value-of select="g:stránka/g:nadpis"/></h1>
    27 				<h1><xsl:value-of select="g:stránka/g:nadpis"/></h1>
    28 				<xsl:apply-templates select="g:stránka/h:text/node()"/>
    28 				<xsl:apply-templates select="g:stránka/h:text/node()"/>