Generate Test XML DataFile from given queries