Hi,

I have an xml-source wich defines an default namespace in it's root element:

test.xml

<?xml version="1.0" encoding="utf-8"?>
<FOO xmlns="http://www.foo.org/";>
    <TEXT>some text here</TEXT>
</FOO>

and try to transform it with this simple stylesheet:

test.xsl

<?xml version="1.0" encoding="utf-8"?> 
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:template match="/FOO">
    <xsl:text>Yes It Works</xsl:text>
</xsl:template>

</xsl:stylesheet>


but my template never get called, insted the default-templates run.

is this a bug, or did i miss something in xslt?

My Components are:
xalan 1.5
xerces 2.2.0

thanks,
 robert

Reply via email to