examples: update XML example (namespace, metadata) and move it to a separate file
<?xml version="1.0" encoding="UTF-8"?>
<!--
XML Web generátor – program na generování webových stránek
Copyright © 2012 František Kučera (frantovo.cz)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet version="2.0"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:a="http://www.w3.org/2005/Atom"
xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
exclude-result-prefixes="fn j a">
<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
<xsl:template match="/">
<urlset>
<xsl:apply-templates select="a:feed/a:entry"/>
</urlset>
</xsl:template>
<xsl:template match="a:entry">
<url>
<loc><xsl:value-of select="a:link/@href"/></loc>
<lastmod><xsl:value-of select="a:updated"/></lastmod>
</url>
</xsl:template>
</xsl:stylesheet>