def getname(child: str) -> str:
    """
    Sometimes the xml-parser puts an extra attribute in the
    tag of an Element (also named namespace). This methods removes 
    this unnessessary string.
    """
    try:
        return child[child.index("}") + 1 :]
    except ValueError:
        return child