def OxmlElement(nsptag_str, attrs=None, nsdecls=None):
    nsptag = NamespacePrefixedTag(nsptag_str)
    if nsdecls is None:
        nsdecls = nsptag.nsmap
    return oxml_parser.makeelement(
        nsptag.clark_name, attrib=attrs, nsmap=nsdecls
    )


# ===========================================================================
# custom element class mappings
# ===========================================================================
Return a 'loose' lxml element having the tag specified by *nsptag_str*.
dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/__init__.py/OxmlElement