Sean Gilligan writes about a [known] problem with <xsl:copy-of select="document('')/xsl:stylesheet/namespace::exsl"/>
One possible workaround that may be pretty universal is to try <xsl:copy-of select="document('')/xsl:stylesheet/namespace::*[name(.)='exsl']"/> or maybe even try local-name(.) if desperate. Use string(.) to match the namespace URI. .................David Marston