- From: <keshlam@us.ibm.com>
- Date: Thu, 11 Oct 2007 13:19:37 -0400
- To: Joćo Eiras <joao.eiras@gmail.com>
- Cc: "www-dom@w3.org" <www-dom@w3.org>, www-dom-request@w3.org
Received on Thursday, 11 October 2007 17:34:11 UTC
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