Thank you Ken
This is doing exactly what i need.
Have a good day

De :        "G. Ken Holman" <>
A :        Mailing list for the SAXON XSLT and XQuery processor <>, Mailing list for the SAXON XSLT and XQuery processor <>
Date :        01/08/2013 17:54
Objet :        Re: [saxon] "is it possible to programmatically set the xpath_default_namespace and as well have more that one xpath default namespaces ?"

The xpath-default-namespace cannot be programmatically set, but one
can programmatically check the namespace URI of nodes.

At 2013-08-01 17:20 +0200, wrote:
><xsl:for-each select="//DIO">   --->  and get as a result <n1:DIO
>name="b"/> <n2:DIO name="c"/>

<xsl:variable name="ns" as="xsd:string*"

<xsl:for-each select="//*:DIO[namespace-uri(.)=$ns]">

I hope this helps.

. . . . . . . . . Ken

Public XSLT, XSL-FO, and UBL classes in the Netherlands     Oct 2013 |
Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 |
Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: |
Crane Softwrights Ltd.    |
G. Ken Holman          |
Google+ profile: |
Legal business disclaimers: |

Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
saxon-help mailing list archived at