I work with some XML data, which in some places in each file overrides the namespace. I am trying to pull all tags of a certain type from a document regardless of the namespace that is active at the point where the tag is in XML.
I use findall('.//{namespace}Tag') to search for the items I'm looking for. But never knowing what {namespace} will be at any given point in the file, it will start or skip whether I will return all the requested tags or not.
Is there a way to return all Tag elements regardless of the {namespace} they fall into? Is there something along the lines of findall('.//{wildcard}Tag') ?
D. waschow
source share