508697 PHP to parse an XML file

I have a large "xml" file and I need some PHP code to parse it so I can test the input and put it in a mysql database.

The file is about [url removed, login to view]

The format, to me, seems to be a non-standard xml. A small sample follows:

<CTLocations xmlns="[url removed, login to view]">

<Country code="AL">

<Location Id="52400" Name="Sheraton Italia Square" Address="Square Italia Hotel Sheraton , Tirana" CityName="Tirana" CountryCode="AL" Airport="false"/>

<Location Id="7188" Name="Tirana Airport" Address="Tirana" CityName="Tirana" CountryCode="AL" Airport="true" AirportCode="TIA"/>

<Location Id="30768" Name="Tirana Downtown" Address="Piaza Circus, Tirana, 00000" CityName="Tirana" CountryCode="AL" Airport="false"/>


<Country code="AD">

<Location Id="4650" Name="Escaldes" Address="AVDA. MIQUEL MATEU, 25, Andorra" CityName="Andorra" CountryCode="AD" Airport="false"/>


<Country code="AO">

<Location Id="50460" Name="Luanda" Address="RUA TENENTE VALADIM 11, 1ST FL , Luanda" CityName="Luanda" CountryCode="AO" Airport="false"/>

<Location Id="50996" Name="Luanda - Airport" Address="4 de Fevereiro , Luanda" CityName="Luanda" CountryCode="AO" Airport="true" AirportCode="LAD"/>


<Country code="AG">

<Location Id="6672" Name="Allegro Grand Pineapple Resort" Address="Allegro Grand Pineapple Resort, Long bay" CityName="Long bay" CountryCode="AG" Airport="false"/>

<Location Id="26536" Name="Jolly Beach Resort" Address="Jolly Beach Resort, Jolly Beach" CityName="Jolly Beach" CountryCode="AG" Airport="false"/>

<Location Id="4017" Name="[url removed, login to view] International Airport" Address="Golden Grove, St. John's, Leeword Islands" CityName="Leeword Islands" CountryCode="AG" Airport="true" AirportCode="ANU"/>


Beceriler: Her şey Kabul, MySQL, PHP, XML

Daha fazlasını gör: ao com, 5mb file, ad international, tia, php to c, php code test, parse, parse and, need fl, lad, hotel xml, downtown, beach resort, format php code, php code sample code, large xml file sample, php code sample, xmlns, location sample code, international resort database, php code format, large file, parse php, database mysql hotel, php parse large xml file

İşveren Hakkında:
( 42 değerlendirme ) Vancouver, Canada

Proje NO: #2254624



Hello, Please check your PM. Regards, Stylesofts Developing Team

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(15 Değerlendirme)