Searching XML File


I have an XML file with around 20,000 records. For each record there is an element:


Now I would like to search through all records and return the country codes ideally in a separate text file…I am using Notepad++

Any ideas on how i can proceed?

thanks in advance,

programming languages like c# have features such as linq to search xml records.

If you’re familiar with php:

Run a foreach loop and check your field, you can then do what you want with that xml segment