[xquery-talk] namespace declarations in an element

Leo Studer leo.studer at varioweb.ch
Thu May 26 03:42:35 PDT 2011


Hello

can anyone help how I get the three namespaces out of <root> with xpath/xquery?

<?xml version="1.0"?>
<root xmlns:a="http://a.ch" xmlns:b="http://b.ch" xmlns:c="http://c.ch">
    <a:test/>
    <b:test/>
    <c:test/>
</root>

Thanks in advance
Leo


More information about the talk mailing list