Extracts contact information from XML