You're way confused about what XML is. What is the actual problem you're attempting to solve? Maybe we can help at an earlier stage of problem solving.
------ We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.