match yaml to xml