author | František Kučera <franta-hg@frantovo.cz> |
Thu, 28 Apr 2011 00:16:00 +0200 | |
changeset 14 | ab73332ab407 |
parent 9 | 71275159d985 |
child 18 | 45e41566f8a6 |
permissions | -rw-r--r-- |
franta-hg@9 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@9 | 2 |
<xsl:stylesheet version="2.0" |
franta-hg@9 | 3 |
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" |
franta-hg@9 | 4 |
xmlns:a="http://www.w3.org/2005/Atom" |
franta-hg@9 | 5 |
xmlns:g="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/prostor" |
franta-hg@9 | 6 |
xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce" |
franta-hg@9 | 7 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
franta-hg@9 | 8 |
xmlns:fn="http://www.w3.org/2005/xpath-functions" |
franta-hg@9 | 9 |
exclude-result-prefixes="fn g j a"> |
franta-hg@9 | 10 |
<xsl:output method="xml" indent="yes" encoding="UTF-8"/> |
franta-hg@9 | 11 |
|
franta-hg@9 | 12 |
<xsl:template match="/"> |
franta-hg@9 | 13 |
<urlset> |
franta-hg@9 | 14 |
<xsl:apply-templates select="a:feed/a:entry"/> |
franta-hg@9 | 15 |
</urlset> |
franta-hg@9 | 16 |
</xsl:template> |
franta-hg@9 | 17 |
|
franta-hg@9 | 18 |
<xsl:template match="a:entry"> |
franta-hg@9 | 19 |
<url> |
franta-hg@9 | 20 |
<loc><xsl:value-of select="a:link/@href"/></loc> |
franta-hg@9 | 21 |
<lastmod><xsl:value-of select="a:updated"/></lastmod> |
franta-hg@9 | 22 |
</url> |
franta-hg@9 | 23 |
</xsl:template> |
franta-hg@9 | 24 |
|
franta-hg@9 | 25 |
</xsl:stylesheet> |