[EMAIL PROTECTED] wrote:
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
Hi Dave
Thanks for your answer. Now I'm a little bit confused because
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#Namespaces-Considerations
states, that
"... As far as the DOM is concerned, special attributes used for
declaring XML namespaces are still exposed and can be manipulated just
like any other attribute. ..."
With that in mind and the fact, that the Xalan version used with Sun's
JDK works in that manner I filed a bug report:
http://issues.apache.org/jira/browse/XALANJ-2091
I hope that I'm on the right path because there is clearly an
incompatibility between the Xalan trunk and the Xalan used in
the JDK.
- Felix