Re: [xquery-talk] Accessing empty namespaced elements in non-empty contexts

2018-04-03 Thread Joe Wicentowski
Hi Michael, Thank you for your reply. It's interesting that until XPath 3.0, we could *construct* empty-namespace elements inside non-empty namespace elements (via the xmlns="" declaration), but we couldn't *query* them without resorting to the somewhat means of indirect wildcards (e.g.,

Re: [xquery-talk] Accessing empty namespaced elements in non-empty contexts

2018-04-02 Thread Michael Kay
XML doesn't allow you to bind a prefix to the thing-that-is-not-a-namespace. With XML namespaces 1.1, the declaration xmlns:x="" doesn't bind x to anything, it unbinds x. Within the scope of this (un)declaratiion, the prefix x cannot be used. It makes sense for XQuery to do the same thing. The