summaryrefslogtreecommitdiff
path: root/tools/xml-to-html.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xml-to-html.xsl')
-rw-r--r--tools/xml-to-html.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/xml-to-html.xsl b/tools/xml-to-html.xsl
index c895bf2..f6aac5b 100644
--- a/tools/xml-to-html.xsl
+++ b/tools/xml-to-html.xsl
@@ -73,6 +73,7 @@
<meta name="robots" content="noarchive" />
</head>
<body>
+ <xsl:apply-templates mode="body" select="xhtml:body/@*" />
<xsl:apply-templates mode="body" select="xhtml:body/*" />
<footer>
<xsl:if test="not(//notes) and @created and @modified">
@@ -132,7 +133,7 @@
</xsl:copy>
</xsl:template>
- <xsl:template mode="body" match="node()" priority="0">
+ <xsl:template mode="body" match="@* | node()" priority="0">
<xsl:copy>
<xsl:copy-of select="@*" />
<xsl:apply-templates mode="body" />