How far have you got and where are you stuck?
Do you understand the requirements?
How do you intend to convert the XML tree-like structure into a CSV-style tabulated structure?
Regarding your expectations, this is a free internet forum. You have not paid for this service and we are answering your questions out of the goodness of our own hearts. I'll help you but not write it for you (others may choose to do differently).