Initial work on window xml parsing