No I'm not kidding it really does look like that. However the actual names and values have been changed for simplicity's sake. What I want is to make it look like the following:
Obviously this means I'll have to do some conditional conversion so the intelligent logic knows to put consonants and vowels in the correct location. A lookup list would be fine for this purpose but I have no idea how to, or even if it can be, implemented. Can anyone offer advice?
Pseudo logic:
If (A, E, I, O, U) //where list is predefined somehow
put in <Vowels> tag
else
put in <Consonants> tag