<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:exsl="http://exslt.org/common"
+ exclude-result-prefixes="exsl"
version="1.0">
<xsl:output method="xml" encoding="US-ASCII"/>
<xsl:text> </xsl:text>
</xsl:template>
+<xsl:template match="xsl:stylesheet" >
+ <xsl:variable name="a">
+ <xsl:element name="dummy" namespace="http://www.w3.org/1999/xhtml"/>
+ </xsl:variable>
+ <xsl:copy>
+ <xsl:copy-of select="exsl:node-set($a)//namespace::*"/>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
<!-- Make sure we override some templates and parameters appropriately for XHTML -->
<xsl:template match="xsl:output">
<xsl:copy>