Commit a016ff3a authored by Adam Svoboda's avatar Adam Svoboda

Added xhtml output

parent 25eca85e
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<path-info>
<cuba path="./CUBA.html"/>
<italy path="./ITALY.html"/>
<namibia path="./NAMIBIA.html"/>
<korea path="./SOUTHKOREA.html"/>
</path-info>
\ No newline at end of file
......@@ -72,12 +72,12 @@
</tr>
<tr>
<td>Other: </td>
<td>21.5%</td>
<td/>
</tr>
</table>
<h3>Society</h3>
<h4>Population</h4>
<p>62,402,659</p>
<p>62402659</p>
<h4>Etnicity</h4>
<table>
<tr>
......@@ -108,11 +108,11 @@
</tr>
</table>
<h4>Age</h4>
<p>Age group of 0-14: 13.45% of total population (4,292,431 male/4,097,732 female)</p>
<p>Age group of 15-24: 9.61% of total population (3,005,402 male/2,989,764 female)</p>
<p>Age group of 25-54: 40.86% of total population (12,577,764 male/12,921,614 female)</p>
<p>Age group of 55-64: 14% of total population (4,243,735 male/4,493,581 female)</p>
<p>Age group of 65+: 22.08% of total population (5,949,560 male/7,831,076 female)</p>
<p>Age group of 0-14: 13.45% of total population (4292431 male/4097732 female)</p>
<p>Age group of 15-24: 9.61% of total population (3005402 male/2989764 female)</p>
<p>Age group of 25-54: 40.86% of total population (12577764 male/12921614 female)</p>
<p>Age group of 55-64: 14% of total population (4243735 male/4493581 female)</p>
<p>Age group of 65+: 22.08% of total population (5949560 male/7831076 female)</p>
<table>
<tr>
<td>Total age median:</td>
......@@ -291,42 +291,42 @@
<h4>Electricity</h4>
<table>
<tr>
<td>Access:</td>
<td>Access: </td>
<td>100%</td>
</tr>
<tr>
<td>Production:</td>
<td>Production: </td>
<td>275.3 billion kWh</td>
</tr>
<tr>
<td>Consumption:</td>
<td>Consumption: </td>
<td>293.5 billion kWh</td>
</tr>
<tr>
<td>Exports:</td>
<td>Exports: </td>
<td>6.155 billion kWh</td>
</tr>
<tr>
<td>Imports:</td>
<td>Imports: </td>
<td>43.18 billion kWh</td>
</tr>
<tr>
<td>Sources:</td>
</tr>
<tr>
<td>fossil fuel:</td>
<td>fossil fuel: </td>
<td>54%</td>
</tr>
<tr>
<td>nuclear:</td>
<td>nuclear: </td>
<td>0%</td>
</tr>
<tr>
<td>hydroelectric:</td>
<td>hydroelectric: </td>
<td>14%</td>
</tr>
<tr>
<td>other renewable sources:</td>
<td>other renewable sources: </td>
<td>32%</td>
</tr>
</table>
......@@ -388,11 +388,11 @@
<table>
<tr>
<td>Fixed lines subscribers:</td>
<td>20,396,603</td>
<td>20396603</td>
</tr>
<tr>
<td>Mobile cellular subscribtions:</td>
<td>83,342,486</td>
<td>83342486</td>
</tr>
</table>
<h4>Broadcast media</h4>
......
This diff is collapsed.
This diff is collapsed.
<html>
<head>
<title>select country</title>
</head>
<body>
<h3>Select country</h3>
<ul>
<li>
<a href="./CUBA.html">
Cuba
</a>
</li>
<li>
<a href="./ITALY.html">
Italy
</a>
</li>
<li>
<a href="./NAMIBIA.html">
Namibia
</a>
</li>
<li>
<a href="./SOUTHKOREA.html">
South Korea
</a>
</li>
</ul>
</body>
</html>
\ No newline at end of file
<html>
<head>Select Country</head>
<body>
<h3>Select country</h3>
<ul>
<li>
<a href="./CUBA.html">
Cuba
</a>
</li>
<li>
<a href="./ITALY.html">
Italy
</a>
</li>
<li>
<a href="./NAMIBIA.html">
Namibia
</a>
</li>
<li>
<a href="./SOUTHKOREA.html">
South Korea
</a>
</li>
</ul>
</body>
</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="country">
<xsl:template match="/">
<html>
<head>
......
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="path-info">
<html>
<head>
<title>select country</title>
</head>
<body>
<h3>Select country</h3>
<ul>
<li><a>
<xsl:attribute name="href">
<xsl:value-of select="cuba/@path"/>
</xsl:attribute>
Cuba
</a></li>
<li><a>
<xsl:attribute name="href">
<xsl:value-of select="italy/@path"/>
</xsl:attribute>
Italy
</a></li>
<li><a>
<xsl:attribute name="href">
<xsl:value-of select="namibia/@path"/>
</xsl:attribute>
Namibia
</a></li>
<li><a>
<xsl:attribute name="href">
<xsl:value-of select="korea/@path"/>
</xsl:attribute>
South Korea
</a></li>
</ul>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment