Output to a .XML

Fixes #12