1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="2.0"
3 xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
4 xmlns:a="http://www.w3.org/2005/Atom"
5 xmlns:atom="http://www.w3.org/2005/Atom"
6 xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce"
7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns:fn="http://www.w3.org/2005/xpath-functions"
9 exclude-result-prefixes="fn j a">
10 <xsl:output method="xml" indent="yes" encoding="UTF-8"/>
12 <xsl:template match="/">
14 xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
15 xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro">
17 <nadpis>Seznam všech stránek</nadpis>
18 <perex>Všechny stránky tohoto webu.</perex>
19 <text xmlns="http://www.w3.org/1999/xhtml">
20 <xsl:apply-templates select="a:feed/a:entry"/>
25 <xsl:template match="a:entry">
26 <p style="seznamStranek">
27 <xsl:variable name="základníUrl" select="//a:feed/a:link[not(@rel)]/@href"/>
28 <a href="{replace(a:link/@href, $základníUrl, '')}"><xsl:value-of select="a:title"/></a>
30 <xsl:value-of select="a:summary"/>
31 (<xsl:value-of select="format-dateTime(adjust-dateTime-to-timezone(a:updated),
32 '[D1].[M1]. [Y0001] [H1]:[m01]')"/>)