aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/page
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/page
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/page')
-rw-r--r--source/99_result/page/page.xsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/99_result/page/page.xsl b/source/99_result/page/page.xsl
index b703f46..5e29cdb 100644
--- a/source/99_result/page/page.xsl
+++ b/source/99_result/page/page.xsl
@@ -1,10 +1,12 @@
<?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"
>
<xsl:include href="[utility/master.xsl]"/>
+<xsl:include href="[utility/xhtml.xsl]"/>
<xsl:variable name="meta">
<datasource type="main" mode="iterate" source="01_data/pages.xml" target="page"/>
@@ -25,7 +27,8 @@
</a>
</h2>
<p class="info"/>
- <xsl:copy-of select="content/*"/>
+
+ <xsl:apply-templates select="content/node()" mode="xhtml"/>
</div>
</xsl:template>