pre lab work.  added writeXML to sequence to generate intermiediate
format.  This will allow for seperation of structure and presentation