Many Thanks Drew,
This works really well. The table was just a poor example of a larger table I was working on. Sorry about the inconsistencies. One question for you, isn't XML explicit deprecated for future versions. Is this something I should be concerned about?
Many Thanks,
Oliver