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/stream.xsl')
-rw-r--r-- | source/99_result/stream.xsl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 3fe93e1..5764461 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.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"> @@ -51,7 +53,8 @@ <xsl:text> | </xsl:text> <xsl:value-of select="$root/meta/author"/> </p> - <xsl:copy-of select="$article/content/*"/> + + <xsl:apply-templates select="$article/content/node()" mode="xhtml"/> </xsl:template> <xsl:template match="page/entry"> |