Currently the XML output has several issues that cause trouble when reading in later processing stages:
More than one root node
Invalid element names (element names cannot start with numbers, as they do currently for gaze events)
Illegal characters, such as &, < and > (should be escaped)
"Rogue" tags and other reserved symbols, especially for sessions reading code.