in reply to cleanup XML output file

Is there any code to add/remove/modify? Thanks guys n gals!

Sure, add code to do what you want, remove code that doesn't do what you want

I recommend LWP::UserAgent#SYNOPSIS and lwpcook and HTTP::Response#synopsis