tests/xmlreader: add an option to use the HTML tree builder to print the XML events
tests/xmlreader: rename parse_xml to print_xml_tree