The xml document is being dynamically constructed by the app and then sent to the asp page all the code for this is posted above