def METHOD_NAME(cname: str, choices: Tuple[Tuple[str, str], ...]):
    """Model instance has choices elements with name and label."""
    choices_xp = "\n              and ".join(
        (
            f"./x:item/x:name/text() = '{cv}' and ./x:item/x:label/text() = '{cl}'"
            for cv, cl in choices
        )
    )
    return fr"""
    /h:html/h:head/x:model/x:instance[@id='{cname}']/x:root[
      {choices_xp}
    ]
    """