Fix xslt
This commit is contained in:
parent
d0249ac8a3
commit
6925499682
1 changed files with 40 additions and 12 deletions
|
@ -26,76 +26,104 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th onclick="sortTable(0)">
|
<th onclick="sortTable(0)">
|
||||||
id
|
id
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(1)">
|
<th onclick="sortTable(1)">
|
||||||
name
|
name
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(2)">
|
<th onclick="sortTable(2)">
|
||||||
stringPerToSlash(birth_rate_per_1000)
|
birth rate / 1000
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(3)">
|
<th onclick="sortTable(3)">
|
||||||
stringPerToSlash(cell_phones_per_100)
|
cell phones / 100
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(4)">
|
<th onclick="sortTable(4)">
|
||||||
stringPerToSlash(children_per_woman)
|
children / woman
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(5)">
|
<th onclick="sortTable(5)">
|
||||||
stringPerToSlash(electricity_consumption_per_capita)
|
electricity consumption / capita
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(6)">
|
<th onclick="sortTable(6)">
|
||||||
stringPerToSlash(gdp_per_capita)
|
gdp / capita
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(7)">
|
<th onclick="sortTable(7)">
|
||||||
stringPerToSlash(gdp__per__capita__growth)
|
gdp / capita growth
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(8)">
|
<th onclick="sortTable(8)">
|
||||||
inflation_annual
|
inflation_annual
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(9)">
|
<th onclick="sortTable(9)">
|
||||||
stringPerToSlash(internet_user_per_100)
|
internet user / 100
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(10)">
|
<th onclick="sortTable(10)">
|
||||||
life_expectancy
|
life expectancy
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(11)">
|
<th onclick="sortTable(11)">
|
||||||
military_expenditure_percent_of_gdp
|
military expenditure percent of gdp
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(12)">
|
<th onclick="sortTable(12)">
|
||||||
gps_lat
|
gps lat
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
<th onclick="sortTable(13)">
|
<th onclick="sortTable(13)">
|
||||||
gps_long
|
gps long
|
||||||
|
<!--
|
||||||
<i class="fas fa-chevron-up"></i>
|
<i class="fas fa-chevron-up"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
<i class="fas fa-chevron-down"></i>
|
||||||
|
-->
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thread>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<xsl:for-each select="Countries/Country">
|
<xsl:for-each select="Countries/Country">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue