This is the begining of the xml output.  It keeps track of actions,
and creates an xml document describing everything that happened.

TBD: Add the rest of the actions and the source listings with
line numbers.