def METHOD_NAME(node):
    """Get the namespace from the given node
    Args:
        node (str): name of the node
    Returns:
        namespace (str)
    """
    parts = node.rsplit("|", 1)[-1].rsplit(":", 1)
    return parts[0] if len(parts) > 1 else u":"