gui to xml, xml to gui