Revision 18:45e41566f8a6, 0.7 KB
(checked in by František Kučera <franta-hg@…>, 13 years ago)
|
Nové jmenné prostory: „s“ a „k“ místo „g“.
|
Rev | Line | |
---|
[9] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <xsl:stylesheet version="2.0" |
---|
| 3 | xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" |
---|
| 4 | xmlns:a="http://www.w3.org/2005/Atom" |
---|
| 5 | xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce" |
---|
| 6 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
| 7 | xmlns:fn="http://www.w3.org/2005/xpath-functions" |
---|
[18] | 8 | exclude-result-prefixes="fn j a"> |
---|
[9] | 9 | <xsl:output method="xml" indent="yes" encoding="UTF-8"/> |
---|
| 10 | |
---|
| 11 | <xsl:template match="/"> |
---|
| 12 | <urlset> |
---|
| 13 | <xsl:apply-templates select="a:feed/a:entry"/> |
---|
| 14 | </urlset> |
---|
| 15 | </xsl:template> |
---|
| 16 | |
---|
| 17 | <xsl:template match="a:entry"> |
---|
| 18 | <url> |
---|
| 19 | <loc><xsl:value-of select="a:link/@href"/></loc> |
---|
| 20 | <lastmod><xsl:value-of select="a:updated"/></lastmod> |
---|
| 21 | </url> |
---|
| 22 | </xsl:template> |
---|
| 23 | |
---|
| 24 | </xsl:stylesheet> |
---|