@staticmethod
def get_active_name(root, schema_ids):
    """Get the active schema from a (list of) rule id(s)."""
    active = None
    for schema_id in schema_ids:
        locator = root.find("rule[@id='" + schema_id + "']/active")
        if locator.text == 'true':
            active = root.find("rule[@id='" + schema_id + "']/name").text
            return active
