XSLT 2.0 allows this (by setting default-xpath-namespace)
but it's not
possible in 1.0.
?xpath-default-namespace?
Yes, sorry, we changed the name (several times)
3.3 says
There are a number of standard attributes that may appear on any XSLT
element:
... xpath-default-namespace
Saxon 7.5.1 reports
Attribute xsl:xpath-default-namespace is not allowed on this
element when applied to xsl:template.
How is it used please anyone?
As the spec says, you call it xsl:xpath-default-namespace if it's used
on a literal result element, but xpath-default-namespace (sans prefix)
if it's used on an XSLT instruction.
Example:
<xsl:for-each select="a/b/c/d"
xpath-default-namespace="http://example.uri/">
<xsl:value-of select="e"/>
</xsl:for-each>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list