fix self nested head and body bug
svn path=/branches/test/; revision=29174
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user