šablona/stránka.xsl
changeset 20 29361e026fa3
parent 19 b81b96475fe0
child 27 037a9f20bf3a
equal deleted inserted replaced
19:b81b96475fe0 20:29361e026fa3
    45 						<xsl:apply-templates select="document(fn:encode-for-uri(concat($vstup, 'záhlaví', $vsuvkováPřípona)))/s:stránka/h:text/node()"/>
    45 						<xsl:apply-templates select="document(fn:encode-for-uri(concat($vstup, 'záhlaví', $vsuvkováPřípona)))/s:stránka/h:text/node()"/>
    46 					</div>
    46 					</div>
    47 					<div id="vnitřek">
    47 					<div id="vnitřek">
    48 						<h1><xsl:value-of select="s:stránka/s:nadpis"/></h1>
    48 						<h1><xsl:value-of select="s:stránka/s:nadpis"/></h1>
    49 						<ul id="nabídka">
    49 						<ul id="nabídka">
    50 							<xsl:for-each select="collection(concat('../vstup/?select=*', $vstupníPřípona))[s:stránka/s:pořadí]">
    50 							<xsl:for-each select="collection(concat('./', $vstup ,'/?select=*', $vstupníPřípona))[s:stránka/s:pořadí]">
    51 								<xsl:sort select="empty(./s:stránka/s:pořadí)"/>
    51 								<xsl:sort select="empty(./s:stránka/s:pořadí)"/>
    52 								<xsl:sort select="./s:stránka/s:pořadí"/>
    52 								<xsl:sort select="./s:stránka/s:pořadí"/>
    53 								<li>
    53 								<li>
    54 									<xsl:variable name="xmlSoubor" select="tokenize(document-uri(.), '/')[last()]"/>
    54 									<xsl:variable name="xmlSoubor" select="tokenize(document-uri(.), '/')[last()]"/>
    55 									<xsl:variable name="xhtmlSoubor" select="replace($xmlSoubor, $vstupníPřípona, $výstupníPřípona)"/>
    55 									<xsl:variable name="xhtmlSoubor" select="replace($xmlSoubor, $vstupníPřípona, $výstupníPřípona)"/>