Hello all,
i am a bit lost with what is possible and what not concerning the namespaces
i have 2 different input xml files having different namespaces and i would like to have a single xsl to read them

Here is an example of my problem

xml file 1:
<ROOT xmlns="http://myexample/2.10">
        <child1>abc        </child1>
</ROOT>

xml file 2: (with a different namespace)
<ROOT xmlns="http://myexample/2.20">
        <child1>abcdef        </child1>
</ROOT>


in my xslt, i would like to be able to handle both kind of file.
So far i was looking for to read the file name space at runtime and to change the default namepsapce dynamically but it seems not possible.
Does anyone know how to do that ?

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xpath-default-namespace="http://myexample/2.10">
.....
<xsl:template match="/">
        <xsl:value-of select="//child"/>
</xsl:template>
</xsl:stylesheet>


Thank you
Best regards
Philippe