author | František Kučera <franta-hg@frantovo.cz> |
Wed Jul 06 22:37:22 2011 +0200 (2011-07-06) | |
changeset 24 | 63e404f454e8 |
child 25 | 0d84061c9878 |
permissions | -rw-r--r-- |
franta-hg@24 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@24 | 2 |
<xsl:stylesheet version="2.0" |
franta-hg@24 | 3 |
xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana" |
franta-hg@24 | 4 |
xmlns:a="http://www.w3.org/2005/Atom" |
franta-hg@24 | 5 |
xmlns:atom="http://www.w3.org/2005/Atom" |
franta-hg@24 | 6 |
xmlns:j="java:cz.frantovo.xmlWebGenerator.Funkce" |
franta-hg@24 | 7 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
franta-hg@24 | 8 |
xmlns:fn="http://www.w3.org/2005/xpath-functions" |
franta-hg@24 | 9 |
exclude-result-prefixes="fn j a"> |
franta-hg@24 | 10 |
<xsl:output method="xml" indent="yes" encoding="UTF-8"/> |
franta-hg@24 | 11 |
|
franta-hg@24 | 12 |
<xsl:template match="/"> |
franta-hg@24 | 13 |
<stránka |
franta-hg@24 | 14 |
xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana" |
franta-hg@24 | 15 |
xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"> |
franta-hg@24 | 16 |
<nadpis>Seznam všech stránek</nadpis> |
franta-hg@24 | 17 |
<perex>Všechny stránky tohoto webu.</perex> |
franta-hg@24 | 18 |
<text xmlns="http://www.w3.org/1999/xhtml"> |
franta-hg@24 | 19 |
<table class="seznamStranek"> |
franta-hg@24 | 20 |
<thead> |
franta-hg@24 | 21 |
<tr> |
franta-hg@24 | 22 |
<td>Název</td> |
franta-hg@24 | 23 |
<td>Vytvořeno</td> |
franta-hg@24 | 24 |
</tr> |
franta-hg@24 | 25 |
</thead> |
franta-hg@24 | 26 |
<tbody> |
franta-hg@24 | 27 |
<xsl:apply-templates select="a:feed/a:entry"/> |
franta-hg@24 | 28 |
</tbody> |
franta-hg@24 | 29 |
</table> |
franta-hg@24 | 30 |
</text> |
franta-hg@24 | 31 |
</stránka> |
franta-hg@24 | 32 |
</xsl:template> |
franta-hg@24 | 33 |
|
franta-hg@24 | 34 |
<xsl:template match="a:entry"> |
franta-hg@24 | 35 |
<tr> |
franta-hg@24 | 36 |
<td><a href="{a:link/@href}"><xsl:value-of select="a:title"/></a></td> |
franta-hg@24 | 37 |
<td><xsl:value-of select="a:updated"/></td> |
franta-hg@24 | 38 |
</tr> |
franta-hg@24 | 39 |
</xsl:template> |
franta-hg@24 | 40 |
|
franta-hg@24 | 41 |
</xsl:stylesheet> |