aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/category
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-11 21:09:55 +0200
committerAdrian Kummerlaender2014-09-11 21:09:55 +0200
commit2458ce157f1e2a3fdb023f6779ba47f253463a54 (patch)
tree139e334d3e89c0b56f7b57ff2f91adb59920b7a9 /source/99_result/category
parent5cd5d02a37d67c489dc755cdf242a8a5e13f4eaa (diff)
downloadblog.kummerlaender.eu-2458ce157f1e2a3fdb023f6779ba47f253463a54.tar
blog.kummerlaender.eu-2458ce157f1e2a3fdb023f6779ba47f253463a54.tar.gz
blog.kummerlaender.eu-2458ce157f1e2a3fdb023f6779ba47f253463a54.tar.bz2
blog.kummerlaender.eu-2458ce157f1e2a3fdb023f6779ba47f253463a54.tar.lz
blog.kummerlaender.eu-2458ce157f1e2a3fdb023f6779ba47f253463a54.tar.xz
blog.kummerlaender.eu-2458ce157f1e2a3fdb023f6779ba47f253463a54.tar.zst
blog.kummerlaender.eu-2458ce157f1e2a3fdb023f6779ba47f253463a54.zip
Fixed XHTML namespace generation
* all datasources are generated as namespace-less XML * the resulting documents have to define the XHTML namespace ** i.e. the article and page contents have to be copied into the XHTML namespace * implemented XHTML copy helper templates * modified page templates accordingly * defined XHTML namespace in the master template
Diffstat (limited to 'source/99_result/category')
-rw-r--r--source/99_result/category/category.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/99_result/category/category.xsl b/source/99_result/category/category.xsl
index 4b49705..e0532aa 100644
--- a/source/99_result/category/category.xsl
+++ b/source/99_result/category/category.xsl
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="1.0"
+ xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes="xalan"
>
<xsl:include href="[utility/master.xsl]"/>
+<xsl:include href="[utility/xhtml.xsl]"/>
<xsl:variable name="meta">
<datasource type="main" mode="iterate" source="02_meta/categories.xml" target="category"/>
@@ -24,7 +26,7 @@
<a href="/page/{@handle}">
<strong><xsl:value-of select="title"/></strong>
<p>
- <xsl:copy-of select="digest/node()"/>
+ <xsl:apply-templates select="digest/node()" mode="xhtml"/>
</p>
</a>
</li>