Use the data in the XML documents provided to perform the tasks below:
Part A: XML to HTML Transformation
Your first task is to create a website that displays statistics on sports and countries. The website consists of three HTML pages, each generated by a different XSLT script. You must write the XSLT files to generate the correct HTML output.
Transform 2: The aim of this task is to extract a table containing Australia’s population data from an XML document called “Population.xml”. The output HTML should contain a table shown on page 2. Save your script as “transform2.xsl”.
a. Note that the increase in the population is given by the difference between the current population and the previous year’s value. The percentage growth is simply the increase divided by the previous value (and multiplied by 100 to convert it to a percentage).
b. HINT: You may want to save the results of some XPath expressions as XSLT variables to allow you to reuse them.
a. Note that for each of the countries on the list, you will need to get the population data from the file “Population.xml”.
The question belongs to HTML and it is about creating a website using HTML which displays statistical data pertaining to countries. The population growth rate of Australia has to be displayed within tables in one of the website’s pages.
Total Word Count NA
Download Full Solution
If you are here for the first time, you can request for a discount coupon, which can knock off upto 20% of the quoted price on any service.