[xquery-talk] namespace declarations in an element

Michael Kay mike at saxonica.com
Thu May 26 06:34:50 PDT 2011


On 26/05/2011 14:11, Leo Studer wrote:
> Hello
>
> I would like to do something like
>
> for $i in /root/namespaces ...
>
> to use them for further processing in a query.
>

You can do this using the functions fn:in-scope-prefixes() and 
fn:namespace-uri-for-prefix()

Michael Kay
Saxonica


More information about the talk mailing list