3.2.0

What's wrong with my grid ?

Hi everybody,

This are my code, please help me to find what's wrond with it because my grid doesn't work..
Thx in advance

<data><record><rank>1</rank><country code="cn">Chine</country><pop>1330044605</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>2</rank><country code="in">Inde</country><pop>1147995898</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>3</rank><country code="us">Etats-Unis</country><pop>303824646</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Nord</sscont><year>2005</year></record>
<record><rank>4</rank><country code="id">Indon&eacute;sie</country><pop>237512355</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>5</rank><country code="br">Br&eacute;sil</country><pop>191908598</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>6</rank><country code="pk">Pakistan</country><pop>167762040</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>7</rank><country code="bd">Bangladesh</country><pop>153546901</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>8</rank><country code="ru">Russi</country><pop>140702094</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>9</rank><country code="ng">Nigeria</country><pop>138283240</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>10</rank><country code="jp">Japon</country><pop>127288419</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>11</rank><country code="mx">Mexique</country><pop>109955400</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Nord</sscont><year>2005</year></record>
<record><rank>12</rank><country code="ph">Philippines</country><pop>92681453</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>13</rank><country code="vn">Vi&ecirc;t Nam</country><pop>86116559</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>14</rank><country code="de">Allemagne</country><pop>82369548</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>15</rank><country code="eg">Egypte</country><pop>81713517</pop><cont>Afrique</cont><sscont>Afrique du Nord</sscont><year>2005</year></record>
<record><rank>16</rank><country code="et">Ethiopie</country><pop>78254090</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>17</rank><country code="tr">Turquie</country><pop>71892807</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>18</rank><country code="cd">R&eacute;publique D&eacute;mocratique du Congo</country><pop>68008922</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>19</rank><country code="ir">Iran</country><pop>65875223</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>20</rank><country code="th">Tha&iacute;lande</country><pop>65493298</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>21</rank><country code="fr">France</country><pop>64094658</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>22</rank><country code="pm">Saint-Pierre-et-Miquelon</country><pop>64094658</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Nord</sscont><year>2005</year></record>
<record><rank>23</rank><country code="gb">Royaume-Uni</country><pop>60943912</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>24</rank><country code="it">Italie</country><pop>58145321</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>25</rank><country code="kr">Cor&eacute;e du Sud</country><pop>49232844</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>26</rank><country code="mm">Birmanie</country><pop>47758181</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>27</rank><country code="ua">Ukraine</country><pop>45994287</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>28</rank><country code="co">Colombie</country><pop>45013674</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>29</rank><country code="za">Afrique du Sud</country><pop>43786115</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>30</rank><country code="ar">Argentine</country><pop>40677348</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>31</rank><country code="es">Espagne</country><pop>40491051</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>32</rank><country code="sd">Soudan</country><pop>40218455</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>33</rank><country code="tz">Tanzanie</country><pop>40213162</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>34</rank><country code="pl">Pologne</country><pop>38500696</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>35</rank><country code="ke">Kenya</country><pop>37953838</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>36</rank><country code="ma">Maroc</country><pop>34272968</pop><cont>Afrique</cont><sscont>Afrique du Nord</sscont><year>2005</year></record>
<record><rank>37</rank><country code="dz">Alg&eacute;rie</country><pop>33739635</pop><cont>Afrique</cont><sscont>Afrique du Nord</sscont><year>2005</year></record>
<record><rank>38</rank><country code="ca">Canada</country><pop>33679263</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Nord</sscont><year>2005</year></record>
<record><rank>39</rank><country code="af">Afghanistan</country><pop>32738376</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>40</rank><country code="np">N&eacute;pal</country><pop>29519114</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>41</rank><country code="pe">P&eacute;rou</country><pop>29041593</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>42</rank><country code="uz">Ouzb&eacute;kistan</country><pop>28268440</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>43</rank><country code="iq">Iraq</country><pop>28221181</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>44</rank><country code="sa">Arabie Saoudite</country><pop>28161417</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>45</rank><country code="ve">Venezuela</country><pop>26414815</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>46</rank><country code="my">Malaise</country><pop>25259428</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>47</rank><country code="kp">Cor&eacute;e du Nord</country><pop>23479089</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>48</rank><country code="gh">Ghana</country><pop>23382848</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>49</rank><country code="ye">Y&eacute;men</country><pop>23013376</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>50</rank><country code="tw">taiwan</country><pop>22920946</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>51</rank><country code="ro">Roumanie</country><pop>22246862</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>52</rank><country code="mz">Mozambique</country><pop>21284701</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>53</rank><country code="lk">Sri Lanka</country><pop>21128773</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>54</rank><country code="au">Australie</country><pop>20600856</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>55</rank><country code="mg">Madagascar</country><pop>20042551</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>56</rank><country code="sy">Syrie</country><pop>19747586</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>57</rank><country code="cm">Cameroun</country><pop>18467692</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>58</rank><country code="ci">C&ocirc;te d&#146;Ivoire</country><pop>18373060</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>59</rank><country code="cl">Chili</country><pop>16432536</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>60</rank><country code="kz">Kazakhstan</country><pop>15340533</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>61</rank><country code="bf">Burkina Faso</country><pop>14761339</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>62</rank><country code="kh">Cambodge</country><pop>14241640</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>63</rank><country code="mw">Malawi</country><pop>13931831</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>64</rank><country code="ec">Equateur</country><pop>13927650</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>65</rank><country code="ne">Niger</country><pop>13272679</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>66</rank><country code="gt">Guatemala</country><pop>13002206</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique Centrale</sscont><year>2005</year></record>
<record><rank>67</rank><country code="sn">S&eacute;n&eacute;gal</country><pop>12853259</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>68</rank><country code="ao">Angola</country><pop>12531357</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>69</rank><country code="zw">Zimbabwe</country><pop>12382920</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>70</rank><country code="ml">Mali</country><pop>12324029</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>71</rank><country code="zm">Zambie</country><pop>11669534</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>72</rank><country code="cu">Cuba</country><pop>11423952</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>73</rank><country code="gr">Gr&egrave;ce</country><pop>10722816</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>74</rank><country code="pt">Portugal</country><pop>10676910</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>75</rank><country code="be">Belgique</country><pop>10403951</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>76</rank><country code="tn">Tunisie</country><pop>10378140</pop><cont>Afrique</cont><sscont>Afrique du Nord</sscont><year>2005</year></record>
<record><rank>77</rank><country code="cz">R&eacute;publique Tch&egrave;que</country><pop>10220911</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>78</rank><country code="gn">Guin&eacute;e</country><pop>10211437</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>79</rank><country code="rw">Rwanda</country><pop>10186063</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>80</rank><country code="td">Tchad</country><pop>10111337</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>81</rank><country code="hu">Hongrie</country><pop>9930915</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>82</rank><country code="">Bi&eacute;lorussie</country><pop>9685768</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>83</rank><country code="do">R&eacute;publique Dominicaine</country><pop>9507133</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>84</rank><country code="so">Somalie</country><pop>9379907</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>85</rank><country code="bo">Bolivie</country><pop>9247816</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>86</rank><country code="se">Su&egrave;de</country><pop>9045389</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>87</rank><country code="ht">Ha&iacute;ti</country><pop>8924553</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>88</rank><country code="bi">Burundi</country><pop>8691005</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>89</rank><country code="bj">B&eacute;nin</country><pop>8294941</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>90</rank><country code="at">Autriche</country><pop>8205533</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>91</rank><country code="az">Azerba&iacute;djan</country><pop>8177717</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>92</rank><country code="hn">Honduras</country><pop>7639327</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique Centrale</sscont><year>2005</year></record>
<record><rank>93</rank><country code="ch">Suisse</country><pop>7581520</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>94</rank><country code="bg">Bulgarie</country><pop>7262675</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>95</rank><country code="tj">Tadjikistan</country><pop>7211884</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>96</rank><country code="sv">Salvador</country><pop>7066403</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique Centrale</sscont><year>2005</year></record>
<record><rank>97</rank><country code="py">Paraguay</country><pop>6831306</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>98</rank><country code="la">Laos</country><pop>6677534</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>99</rank><country code="il">Isra&euml;l</country><pop>6500389</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>100</rank><country code="sl">Sierra Leone</country><pop>6286617</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>101</rank><country code="jo">Jordanie</country><pop>6198677</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>102</rank><country code="ly">Libye</country><pop>6173579</pop><cont>Afrique</cont><sscont>Afrique du Nord</sscont><year>2005</year></record>
<record><rank>103</rank><country code="pg">Papouasie Nouvelle Guin&eacute;e</country><pop>5921144</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>104</rank><country code="tg">Togo</country><pop>5858673</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>105</rank><country code="ni">Nicaragua</country><pop>5780586</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique Centrale</sscont><year>2005</year></record>
<record><rank>106</rank><country code="dk">Danemark</country><pop>5484723</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>107</rank><country code="nl">Pays-Bas</country><pop>5484723</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>108</rank><country code="sk">Slovaquie</country><pop>5455407</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>109</rank><country code="kg">Kirghizstan</country><pop>5356869</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>110</rank><country code="fi">Finlande</country><pop>5244749</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>111</rank><country code="tm">Turm&eacute;nistan</country><pop>5179571</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>112</rank><country code="er">Erythr&eacute;e</country><pop>5028475</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>113</rank><country code="no">Norv&egrave;ge</country><pop>4644457</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>114</rank><country code="ge">G&eacute;orgie</country><pop>4630841</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>115</rank><country code="ae">Emirats Arabes Unis</country><pop>4621399</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>116</rank><country code="sg">Singapour</country><pop>4608167</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>117</rank><country code="ba">Bosnie Herz&eacute;govine</country><pop>4590310</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>118</rank><country code="hr">Croatie</country><pop>4491543</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>119</rank><country code="cf">Centrafrique</country><pop>4434873</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>120</rank><country code="md">Moldavie</country><pop>4324450</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>121</rank><country code="cr">Costa Rica</country><pop>4191948</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique Centrale</sscont><year>2005</year></record>
<record><rank>122</rank><country code="ie">Irlande</country><pop>4156119</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>123</rank><country code="nz">Nouvelle Z&eacute;lande</country><pop>4154311</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>124</rank><country code="lb">Liban</country><pop>3971941</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>125</rank><country code="pr">Porto Rico</country><pop>3959450</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>126</rank><country code="cg">Congo</country><pop>3903318</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>127</rank><country code="al">Albanie</country><pop>3619778</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>128</rank><country code="lt">Lituanie</country><pop>3565205</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>129</rank><country code="uy">Uruguay</country><pop>3477778</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>130</rank><country code="mr">Mauritanie</country><pop>3364940</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>131</rank><country code="lr">Lib&eacute;ria</country><pop>3334587</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>132</rank><country code="om">Oman</country><pop>3309440</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>133</rank><country code="pa">Panama</country><pop>3292693</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique Centrale</sscont><year>2005</year></record>
<record><rank>134</rank><country code="mn">Mongolie</country><pop>2996081</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>135</rank><country code="am">Arm&eacute;nie</country><pop>2968586</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>136</rank><country code="jm">Jama&iacute;que</country><pop>2801544</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>137</rank><country code="ps">Palestine</country><pop>2611904</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>138</rank><country code="kw">Kowe&iacute;t</country><pop>2596799</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>139</rank><country code="bt">Bhoutan</country><pop>2376680</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>140</rank><country code="lv">Lettonie</country><pop>2245423</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>141</rank><country code="ls">Lesotho</country><pop>2128180</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>142</rank><country code="na">Namibie</country><pop>2063927</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>143</rank><country code="mk">Mac&eacute;doine</country><pop>2061315</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>144</rank><country code="si">Slov&eacute;nie</country><pop>2007711</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>145</rank><country code="bw">Botswana</country><pop>1842323</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>146</rank><country code="gm">Gambie</country><pop>1735464</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>147</rank><country code="gw">Guin&eacute;e Bissau</country><pop>1503182</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>148</rank><country code="ga">Gabon</country><pop>1484149</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>149</rank><country code="ee">Estonie</country><pop>1307605</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>150</rank><country code="mu">Ile Maurice</country><pop>1260781</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>151</rank><country code="sz">Swaziland</country><pop>1128814</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>152</rank><country code="tl">Timor Occidental</country><pop>1107432</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>153</rank><country code="tt">Trinit&eacute; et Tobago</country><pop>1047366</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>154</rank><country code="fj">Fidji</country><pop>931545</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>155</rank><country code="qa">Qatar</country><pop>928635</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>156</rank><country code="cy">Chypre</country><pop>792604</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>157</rank><country code="gy">Guyana</country><pop>770794</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>158</rank><country code="km">Comores</country><pop>731775</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>159</rank><country code="bh">Bahrein</country><pop>718306</pop><cont>Asie</cont><sscont>Proche Orient</sscont><year>2005</year></record>
<record><rank>160</rank><country code="rs">Serbie</country><pop>678177</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>161</rank><country code="sb">Iles Salomon</country><pop>581208</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>162</rank><country code="gq">Guin&eacute;e Equatoriale</country><pop>562339</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>163</rank><country code="dj">Djibouti</country><pop>506221</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>164</rank><country code="lu">Luxembourg</country><pop>486006</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>165</rank><country code="sr">Suriname</country><pop>475996</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>166</rank><country code="gp">Guadeloupe</country><pop>448713</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>167</rank><country code="cv">Cap Vert</country><pop>426113</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>168</rank><country code="mt">Malte</country><pop>403532</pop><cont>Europe</cont><sscont>Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>169</rank><country code="mq">Martinique</country><pop>397820</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>170</rank><country code="eh">Sahara Occidental</country><pop>393831</pop><cont>Afrique</cont><sscont>Afrique du Nord</sscont><year>2005</year></record>
<record><rank>171</rank><country code="bn">Brune&iacute;</country><pop>381371</pop><cont>Asie</cont><sscont>Extr&ecirc;me Orient</sscont><year>2005</year></record>
<record><rank>172</rank><country code="mv">Maldives</country><pop>379174</pop><cont>Asie</cont><sscont>Moyen Orient</sscont><year>2005</year></record>
<record><rank>173</rank><country code="bs">Bahamas</country><pop>307451</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>174</rank><country code="is">Islande</country><pop>304367</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>175</rank><country code="bz">Belize</country><pop>301022</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique Centrale</sscont><year>2005</year></record>
<record><rank>176</rank><country code="pf">Polyn&eacute;sie Fran&ccedil;aise</country><pop>283019</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>177</rank><country code="bb">barbade</country><pop>281968</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>178</rank><country code="an">Antilles N&eacute;erlandaises</country><pop>225369</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>179</rank><country code="nc">Nouvelle Cal&eacute;donie</country><pop>224585</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>180</rank><country code="ws">Samoa</country><pop>217083</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>181</rank><country code="yt">Mayotte</country><pop>216306</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>182</rank><country code="vu">Vanuatu</country><pop>215053</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>183</rank><country code="st">Sao Tome et Principe</country><pop>205901</pop><cont>Afrique</cont><sscont>Afrique Sub-Saharienne</sscont><year>2005</year></record>
<record><rank>184</rank><country code="gf">Guyane</country><pop>195856</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>185</rank><country code="re">R&eacute;union</country><pop>190842</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>186</rank><country code="gu">Guam</country><pop>175877</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>187</rank><country code="lc">Sainte Lucie</country><pop>172884</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>188</rank><country code="">Jersey et Guenersey</country><pop>157259</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>189</rank><country code="to">Tonga</country><pop>118993</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>190</rank><country code="vc">Saint Vincent et Grenadines</country><pop>118432</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>191</rank><country code="ki">Kiribati</country><pop>110252</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>192</rank><country code="fm">Micron&eacute;sie</country><pop>107673</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>193</rank><country code="aw">Aruba</country><pop>101541</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>194</rank><country code="gd">Grenade</country><pop>90303</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>195</rank><country code="mp">Iles Mariennes du Nord</country><pop>86616</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>196</rank><country code="sc">Seychelles</country><pop>82247</pop><cont>Afrique</cont><sscont>Afrique Orientale</sscont><year>2005</year></record>
<record><rank>197</rank><country code="dm">Dominique</country><pop>72514</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>198</rank><country code="ad">Andorre</country><pop>72413</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>199</rank><country code="ag">Antigua et Barbuda</country><pop>69842</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>200</rank><country code="bm">Bermudes</country><pop>66536</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Nord</sscont><year>2005</year></record>
<record><rank>201</rank><country code="mh">Iles Marschall</country><pop>63174</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>202</rank><country code="as">Samoa Am&eacute;ricains</country><pop>57496</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>203</rank><country code="gl">Groendland</country><pop>56326</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Nord</sscont><year>2005</year></record>
<record><rank>204</rank><country code="ky">Iles Ca&icirc;mans</country><pop>47762</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>205</rank><country code="kn">Saint Christophe et Ni&egrave;ves</country><pop>39619</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>206</rank><country code="li">Liechtenstein</country><pop>34498</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>207</rank><country code="mc">Monaco</country><pop>32796</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>208</rank><country code="sm">Saint Marin</country><pop>29973</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>209</rank><country code="gi">Gibraltar</country><pop>28002</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>210</rank><country code="vg">Iles Vierges Britanniques</country><pop>24004</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>211</rank><country code="tc">Turques et Ca&iacute;ques</country><pop>22336</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>212</rank><country code="ck">Iles Cook</country><pop>21923</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>213</rank><country code="pw">Belau</country><pop>21093</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>214</rank><country code="wf">Wallis et Futuna</country><pop>16448</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>215</rank><country code="ai">Anguilla</country><pop>13854</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>216</rank><country code="tv">Tuvalu</country><pop>12181</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>217</rank><country code="vi">Iles Vierges Am&eacute;ricains</country><pop>10821</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>218</rank><country code="ms">Montserrat</country><pop>9638</pop><cont>Am&eacute;riques</cont><sscont>Antilles</sscont><year>2005</year></record>
<record><rank>219</rank><country code="im">Ile de Man</country><pop>7622</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>220</rank><country code="sh">Sainte H&eacute;l&egrave;ne</country><pop>7581</pop><cont>Afrique</cont><sscont>Afrique Australe</sscont><year>2005</year></record>
<record><rank>221</rank><country code="fo">Iles F&eacute;ro&eacute;s</country><pop>4777</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record>
<record><rank>222</rank><country code="fk">Iles Malouines</country><pop>3105</pop><cont>Am&eacute;riques</cont><sscont>Am&eacute;rique du Sud</sscont><year>2005</year></record>
<record><rank>223</rank><country code="nr">Nauru</country><pop>1377</pop><cont>Oc&eacute;anie</cont><sscont>Oc&eacute;anie</sscont><year>2005</year></record>
<record><rank>224</rank><country code="va">Vatican</country><pop>905</pop><cont>Europe</cont><sscont>Hors Union Europ&eacute;enne</sscont><year>2005</year></record></data>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ActiveWidgets Examples</title>

<!-- fix box model in firefox/safari/opera -->
<style type="text/css">
.aw-quirks * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}

body {font: 12px Tahoma}
</style>

<!-- include links to the script and stylesheet files -->
<script src="../../runtime/lib/aw.js" type="text/javascript"></script>
<link href="../../runtime/styles/system/aw.css" rel="stylesheet">

<!-- add icon libraries -->
<link href="mini.css" rel="stylesheet">
<link href="flags.css" rel="stylesheet">

<!-- add custom icons -->
<style type="text/css">

.aw-image-world {background:url(world.gif) 1px 1px no-repeat}

</style>

<!-- change default styles, set control size and position -->
<style type="text/css">



#myGrid .aw-column-0 {width: 50px; text-align: center}
#myGrid .aw-column-1 {width: 150px}
#myGrid .aw-column-2 {text-align: right}
#myGrid .aw-column-3 {text-align: center}
#myGrid .aw-column-4 {text-align: center}
#myGrid .aw-column-5 {text-align: center}

</style>
</head>
<body>
<!-- insert control tag -->
<span id="myGrid"></span>


<!-- create controls -->
<script type="text/javascript">

var data = new AW.XML.Table;
data.setURL("image-attribute.xml");
data.request();

// add getImage method returning 'code' attribute for each node
data.getImage = function(col, row){
return this.getNode(col, row).getAttribute("code");
}

var headers = ["Rang", "Pays", "Pop", "Continent", "Sous-continent", "Data from"];

var num = new AW.Formats.Number;
num.setTextFormat("#,###.");

var grid = new AW.UI.Grid;
grid.setId("myGrid");
grid.setHeaderText(headers);
grid.setCellTemplate(new AW.Templates.ImageText, 1); // image & text template for the 2nd column
grid.setCellFormat(num, 2);
grid.setColumnCount(6);
grid.refresh();

// attach external data model
grid.setCellModel(data);

</script>
</body>
</html>


Lilicipute
October 26,
Do you have any errors? What exactly does not work?
Alex (ActiveWidgets)
October 27,

This topic is archived.

See also:


Back to support forum