This might be a moot point, but if possible you might want to consider moving away from XML to something like YAML or JSON. I hate XML and I know a lot of other people do too.
Here's my problem with XML:
How do you represent that in data? How do you take the resulting data and
make it turn back into XML that looks the same? I know you can, but there's no
obvious 1 to 1 mapping. You basically have to make one up and you can avoid that whole problem with JSON or YAML.