My suggestion is to look again. I just searched for this and found such a script on my first attempt. Remember, XML files are just text files.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin