export xml part 1