Re: XPathNSResolver issues

Correct behavior.

XPath 1.0 has no concept of default namespace. If you want to reference
namespaced nodes you MUST use a prefix in your XPath and bind it
appropriately.

XPath 2.0 adds the concept of default namespace, but I don't believe the
DOM APIs support that yet.

______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish
(http://www.ovff.org/pegasus/songs/threes-rev-11.html)

Received on Thursday, 11 October 2007 17:34:11 UTC