def get_ns(node):
    """Get Absolute namespace from node name string

    Args:
        node (str): Node name

    Returns:
        str: Absolute namespace

    """
    parts = node.rsplit("|", 1)[-1].rsplit(":", 1)
    return (":" + parts[0]) if len(parts) > 1 else ":"