Страна | Численность населения | За год |
---|---|---|
China | 1 341 990 000 | 2011 |
India | 1 193 290 000 | 2011 |
United States | 311 960 000 | 2011 |
Indonesia | 237 556 363 | 2010 |
<?xml version="1.0" encoding="UTF-8"?>
<data>
<item id="1">
<country> China </country>
<population> 1 341 990 000 </population>
<year> 2011 </year>
</item>
...
<item id="4">
<country> Indonesia </country>
<population> 237 556 363 </population>
<year> 2010 </year>
</item>
</data>
Вы не ограничены описанным выше форматом XML, подробнее о том, как загрузить любой файл XML в таблицу.
[
{ id:"1", country: "China", population: "1 341 990 000", year: "2011" },
{ id:"2", country: "India", population: "1 193 290 000", year: "2011" },
{ id:"3", country: "United States", population: "311 960 000", year: "2011" },
{ id:"4", country: "Indonesia", population: "237 556 363", year: "2010" }
]
[
[ "China", "1 341 990 000", "2011" ],
[ "India", "1 193 290 000", "2011"],
[ "United States", "311 960 000", "2011"],
[ "Indonesia", "237 556 363", "2010"]
]
China, 1 341 990 000, 2011
India, 1 193 290 000, 2011
United States, 311 960 000, 2011
Indonesia, 237 556 363, 2010
Наверх