From 2458ce157f1e2a3fdb023f6779ba47f253463a54 Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Thu, 11 Sep 2014 21:09:55 +0200
Subject: 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

---
 source/99_result/page/page.xsl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'source/99_result/page')

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>
 
-- 
cgit v1.2.3