diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/99_result/article/article.xsl | 1 | ||||
-rw-r--r-- | source/99_result/tag/tag.xsl | 5 |
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 »<xsl:value-of select="@handle"/>« <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"/> |