implemented XML Exporter (issue #9)