schedule to xml