extract xml information