šablona/sitemap.xsl
changeset 87 25dec6931f18
parent 61 9503eb8377f1
child 136 d5feb9d8ebc3
     1.1 --- a/šablona/sitemap.xsl	Sat Jan 14 17:56:59 2012 +0100
     1.2 +++ b/šablona/sitemap.xsl	Sat Jan 14 19:10:26 2012 +0100
     1.3 @@ -24,18 +24,19 @@
     1.4  	xmlns:fn="http://www.w3.org/2005/xpath-functions"
     1.5  	exclude-result-prefixes="fn j a">
     1.6  	<xsl:output	method="xml" indent="yes" encoding="UTF-8"/>
     1.7 -	
     1.8 +
     1.9  	<xsl:template match="/">
    1.10  		<urlset>
    1.11  			<xsl:apply-templates select="a:feed/a:entry"/>
    1.12  		</urlset>
    1.13  	</xsl:template>
    1.14 -	
    1.15 +
    1.16  	<xsl:template match="a:entry">
    1.17  		<url>
    1.18  			<loc><xsl:value-of select="a:link/@href"/></loc>
    1.19  			<lastmod><xsl:value-of select="a:updated"/></lastmod>
    1.20  		</url>
    1.21  	</xsl:template>
    1.22 -	
    1.23 +
    1.24  </xsl:stylesheet>
    1.25 +