as2fm.as2fm_common.common.remove_namespace

as2fm.as2fm_common.common.remove_namespace(tag: str) str

If a tag has a namespace, remove it.

e.g. {http://www.w3.org/2005/07/scxml}transition -> transition

Parameters:

tag – The tag to remove the namespace from.

Returns:

The tag without the namespace.