This looks like something from the QlikView Cookbook.
The only way the data structure returns is if the entire original file is thrown away and rebuilt from project. Any ideas what is wedged in there that prevents the XML structure from exporting? Any assistance is much appreciated.