in reply to How do I pass a data structure with CGI redirect

If you want to pass the entire contents of an XML file in the query string, the file had better be small. As the above posters said, you need to pass it as a string (not a data structure) and you should URL-encode the contents of the file.

Other possibilities include: