Un premier fichier population.xml
<data>
<record><rank>1</rank><country code="cn">Chine</country><cont>Asie</cont><pop>1330044605</pop><year>2008</year></record>
<record><rank>2</rank><country code="in">Inde</country><cont>Asie</cont><pop>1147995898</pop><year>2008</year></record>
<record><rank>3</rank><country code="us">Etats-Unis</country><cont>Amériques</cont><pop>303824646</pop><year>2008</year></record>
<record><rank>4</rank><country code="id">Indonésie</country><cont>Asie</cont><pop>237512355</pop><year>2008</year></record>
<record><rank>5</rank><country code="br">Brésil</country><cont>Amériques</cont><pop>191908598</pop><year>2008</year></record>
</data
Un second pibhab.xml
<data><record><rank>1</rank><country code="lu">Luxembourg</country><cont>Europe</cont><pibhab>79 851</pibhab><year>2005</year></record>
<record><rank>2</rank><country code="no">Norvège</country><cont>Europe</cont><pibhab>63 918</pibhab><year>2005</year></record>
<record><rank>3</rank><country code="is">Islande</country><cont>Europe</cont><pibhab>53 290</pibhab><year>2005</year></record>
<record><rank>4</rank><country code="qa">Qatar</country><cont>Asie</cont><pibhab>52 240</pibhab><year>2005</year></record>
<record><rank>5</rank><country code="ch">Suisse</country><cont>Europe</cont><pibhab>49 351</pibhab><year>2005</year></record></data>
... etc ...
Partager