xml_demo.pl: move XML into a HERE document; added dumper method