author | František Kučera <franta-hg@frantovo.cz> |
Wed, 06 Jul 2011 22:37:22 +0200 | |
changeset 24 | 63e404f454e8 |
parent 18 | 45e41566f8a6 |
child 61 | 9503eb8377f1 |
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: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
|
6 |
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
|
7 |
xmlns:fn="http://www.w3.org/2005/xpath-functions" |
18
45e41566f8a6
Nové jmenné prostory: „s“ a „k“ místo „g“.
František Kučera <franta-hg@frantovo.cz>
parents:
9
diff
changeset
|
8 |
exclude-result-prefixes="fn j a"> |
9
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
<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
|
10 |
|
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
<xsl:template match="/"> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
<urlset> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
13 |
<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
|
14 |
</urlset> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
15 |
</xsl:template> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
16 |
|
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
17 |
<xsl:template match="a:entry"> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
18 |
<url> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
19 |
<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
|
20 |
<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
|
21 |
</url> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
22 |
</xsl:template> |
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
23 |
|
71275159d985
Sitemap.xml agregace, vyřešeno #2
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
24 |
</xsl:stylesheet> |