def METHOD_NAME(node):
    try:
        lower_corner = node.xpath("ows:LowerCorner/text()", namespaces=nsmap)[0]
        upper_corner = node.xpath("ows:UpperCorner/text()", namespaces=nsmap)[0]
        ll = list(map(float, lower_corner.split(" ")))
        ur = list(map(float, upper_corner.split(" ")))
    except (IndexError, ValueError):
        raise ValueError("Invalid bounding box.")
    crs = node.attrib["crs"]
    return ll[0], ll[1], ur[0], ur[1], crs