Talk:Introduction to using XPath in JavaScript
From MDC
[edit] APENDIX : Implementing a default namespace for XML documents
The example just does not work because the resolver is never called since there is no prefix to resolve in the xpath expression.
But since resolver return always the same value, any prefix would be fine.
Hence the xpath expression "//foo:entry" should just make the example work.
I don't know if this is a mistake in the document or a bug in mozilla ; so I don't modify this page.
PS : sorry for my poor english Celelibi 22:21, 6 January 2007 (PST)