tags:

views:

948

answers:

2

Trying to find an XML file I can use in lieu of a look-up database table until we get our web hosting switched over to the right DB.

Can anyone refer me to an XML file with elements whose children have zipcodes, states, and cities? E.g.:

<zip code="98117">
    <state>WA</state>
    <city>Seattle</state>
</zip>

Or

<entry>
    <zip>98117</zip>
    <state>WA</state>
    <city>Seattle</city>
</entry>

I'll be using LINQ in C# to query this data.

+1  A: 

Check out this one, it provides several different free ones.

http://stackoverflow.com/questions/24471/zip-code-database

Tom Anderson
A: 

There is a free zip code database located at:

http://www.populardata.com

I believe its a .CSV file but you could convert it to a XML file quite easily.