add support for already documented XML format

add more tests