diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/html-to-website-xml.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/html-to-website-xml.xsl b/docs/html-to-website-xml.xsl index 3aaf3bf25d..b6117bc7ae 100644 --- a/docs/html-to-website-xml.xsl +++ b/docs/html-to-website-xml.xsl @@ -7,9 +7,9 @@ <xsl:template match="*"/> -<!-- Copy every element through, deliberately losing all attributes --> -<xsl:template match="node()"> - <xsl:copy><xsl:apply-templates select="node()"/></xsl:copy> +<!-- Copy every element through --> +<xsl:template match="@*|node()"> + <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy> </xsl:template> <!-- Copy the root node, and munge the outer part of the page --> |
