> Pretty sure XPath 1.0 [1] only allows foo:* wildcards (but not *:foo).
... Right. Sorry; too much time working on 2.0 recently.
The 1.0 equivalent would indeed be
*[localname()="foo"]
And, of course, if you want to ignore the name entirely, just matching on
* will do that.
NOTE: Since the namespace is part of the semantics (meaning) of the
document, ignoring it is usually an indicator of bad design (unless you're
working in 2.0 and manipulating schema types rather than names). Think
long and hard about what you're really trying to do and whether this is
the best way to do it.