> I try to get the namespaces of the root node as attributes but it
> fails:

That's because namespace declaration are represented in the data model as 
namespaces nodes, not attribute nodes:


http://www.w3.org/TR/xpath#namespace-nodes

Dave

Reply via email to