rotifer.db.uniprot.webapi.idmapping.get_xml_namespace#
- rotifer.db.uniprot.webapi.idmapping.get_xml_namespace(element)[source]#
Extract the XML namespace URI from an element’s tag.
- Parameters:
- elementxml.etree.ElementTree.Element
Element whose tag carries the namespace, in
{uri}tagform.
- Returns:
- str
The namespace URI, or an empty string if the tag has none.