xml export works