fix self nested head and body bug

svn path=/branches/test/; revision=29174
This commit is contained in:
2014-09-06 02:56:04 +00:00
parent 3a2fd80a40
commit 8a96a59f62
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -152,7 +152,7 @@
<![endif]]]></xsl:comment>
<!-- Copy head element from the xhtml source file (and possibly from external xsl rules) -->
<xsl:apply-templates select="head" />
<xsl:apply-templates select="head/node()" />
</xsl:element></xsl:template>
</xsl:stylesheet>
+1 -1
View File
@@ -14,7 +14,7 @@
</xsl:if>
<!-- Here goes the actual content of the <body> node of the input file -->
<xsl:apply-templates select="body | /buildinfo/document/event/body | /buildinfo/document/news/body" />
<xsl:apply-templates select="body/node() | /buildinfo/document/event/body | /buildinfo/document/news/body" />
</xsl:element>