[xquery-talk] namespace declarations in an element

Michael Kay mike at saxonica.com
Thu May 26 04:08:45 PDT 2011


On 26/05/2011 11:42, Leo Studer wrote:
> 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
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk
>
When you say "get them out", do you mean "retrieve them" or "remove them"?

Excuse my poor American.

Michael Kay
Saxonica


More information about the talk mailing list