On Fri, 2010-04-09 at 20:03 +0100, David Carlisle wrote:
> bah humbug, you can't do /h:html/h:head/h:meta in pure xpath either
true. You can do *[local-name() = 'foo'] etc though, which was the
example I'd used earlier. I didn't look closely enough, sorry!
> The fact is that Xpath2 allows the host language to specify
> the default namespace for elements in queries, and xquery chose to
> specify that was the same as the default namespace for element
> construction, which was a bad mistake.
Yes, I agree with you.
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org