Hi Godmar,
Am 25.09.2010 18:24, schrieb Godmar Back:
(the inherited default name space for the libx:entry element is 2005/Atom. But explicitly asking for atom:src in the query:
declare namespace libx='http://libx.org/xml/libx2'; declare namespace atom='http://www.w3.org/2005/Atom'; doc("libx2_feed")//libx:entry[@atom:src="34"]
returns an empty sequence when in my opinion it should provide the same result. Am I wrong?
quoting "Namespaces in XML 1.0 (Third Edition)" [1]:
The namespace name for an unprefixed attribute name always has no value.
In conclusion attributes don't inherit namespaces, so I think there's nothing wrong with this particular behaviour.
I'll look into your databases now, thank you very much for that. Damn little namespace thingies... Greets Leo __________ [1] http://www.w3.org/TR/REC-xml-names/#defaulting