Thanks!
I feel like there way be a way to do this using <case> elements. I will do some experimentation and let you know if I have any success