XML with if's , would this work?

Printable View