equal
deleted
inserted
replaced
|
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"/> |
|
11 |
|
12 <xsl:template match="/"> |
|
13 <stránka |
|
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"> |
|
16 <nadpis>Seznam všech stránek</nadpis> |
|
17 <perex>Všechny stránky tohoto webu.</perex> |
|
18 <text xmlns="http://www.w3.org/1999/xhtml"> |
|
19 <table class="seznamStranek"> |
|
20 <thead> |
|
21 <tr> |
|
22 <td>Název</td> |
|
23 <td>Vytvořeno</td> |
|
24 </tr> |
|
25 </thead> |
|
26 <tbody> |
|
27 <xsl:apply-templates select="a:feed/a:entry"/> |
|
28 </tbody> |
|
29 </table> |
|
30 </text> |
|
31 </stránka> |
|
32 </xsl:template> |
|
33 |
|
34 <xsl:template match="a:entry"> |
|
35 <tr> |
|
36 <td><a href="{a:link/@href}"><xsl:value-of select="a:title"/></a></td> |
|
37 <td><xsl:value-of select="a:updated"/></td> |
|
38 </tr> |
|
39 </xsl:template> |
|
40 |
|
41 </xsl:stylesheet> |