extract xml