While that XPath query certainly works with the example XML the OP gave, it should be noted it will stop working or give possibly unintended results in any of the following three cases, while the solution with registerNs will continue working correctly (being namespace-aware).
In reply to Re^2: Xpath not working
by Anonymous Monk
in thread Xpath not working
by njack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |