Extracting more information from XML dump