def find_node_api_version(node_pyxb):
    """Find the highest API major version supported by node."""
    max_major = 0
    for s in node_pyxb.services.service:
        max_major = max(max_major, int(s.version[1:]))
    return max_major