basic xml functionality responds, invalid xml however