I have the following xslt:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:my="my_namespace">
<xsl:template match="/">
<xsl:value-of select="document('')/xsl:stylesheet/namespace::my"/>
</xsl:template>
</xsl:stylesheet>
ant it always returns an empty string.
What is wrong with namespace::*
?
Update: sample xml is:
<?xml version="1.0" encoding="utf-8"?>
<foo/>