diff options
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/article')
-rw-r--r-- | source/99_result/article/article.xsl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl index 9ce19df..8d3954e 100644 --- a/source/99_result/article/article.xsl +++ b/source/99_result/article/article.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:include href="[utility/date-time.xsl]"/> <xsl:variable name="meta"> @@ -41,7 +43,8 @@ <xsl:text> | </xsl:text> <a href="#isso-thread">Comments</a> </p> - <xsl:copy-of select="content/node()"/> + + <xsl:apply-templates select="content/node()" mode="xhtml"/> </div> <div id="isso-thread"></div> |