aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/99_result/article/article.xsl1
-rw-r--r--source/99_result/tag/tag.xsl5
2 files changed, 4 insertions, 2 deletions
diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl
index 69ddf09..8801a60 100644
--- a/source/99_result/article/article.xsl
+++ b/source/99_result/article/article.xsl
@@ -20,6 +20,7 @@
<xsl:variable name="meta">
<datasource type="main" mode="iterate" source="target/02_data/articles.xml" target="article"/>
<datasource type="support" mode="full" source="source/00_content/meta.xml" target="meta"/>
+ <datasource type="support" mode="full" source="target/02_data/tags.xml" target="tags"/>
<target mode="xpath" value="xalan:nodeset($datasource)/datasource/article/entry/@handle"/>
</xsl:variable>
diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl
index 45cb247..6ab11bf 100644
--- a/source/99_result/tag/tag.xsl
+++ b/source/99_result/tag/tag.xsl
@@ -20,6 +20,7 @@
<xsl:variable name="meta">
<datasource type="main" mode="iterate" source="target/03_meta/tags.xml" target="tag"/>
<datasource type="support" mode="full" source="source/00_content/meta.xml" target="meta"/>
+ <datasource type="support" mode="full" source="target/02_data/tags.xml" target="tags"/>
<target mode="xpath" value="xalan:nodeset($datasource)/datasource/tag/entry/@handle"/>
</xsl:variable>
@@ -31,12 +32,12 @@
<div class="archiv left articlelist archivlist">
All articles tagged as &#187;<xsl:value-of select="@handle"/>&#171;
<ol>
- <xsl:apply-templates select="article"/>
+ <xsl:apply-templates />
</ol>
</div>
</xsl:template>
-<xsl:template match="article">
+<xsl:template match="tag/entry/article">
<li>
<xsl:call-template name="format-date">
<xsl:with-param name="date" select="date"/>