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