Hi,
I think I can help if You will tell me what to do.
You are the boss here.
I have some suggestions: maybe columns should be defined in xml in special header. I think it can be handy. Creating table header (and rest of table) could happen after getting data in xml. What do you think about it?
Regards
Piotr Roznicki