Reference no: EM13829738
Problem:
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.
- Optional Additional Task: Create a new transformation called "transform2optional.xsl" that ranks countries for the year 2010 by: (i) their population sizes from largest to smallest and (ii) their % growth rates, in two separate tables.
- Transform 3: Write a script "transform3.xsl" that extracts a list of the top 10 countries with the highest per capita GDP values for 2010 from the file "perCapitaGDP.xml" and presents them as shown on page 3.
a. Note that for each of the countries on the list, you will need to get the population data from the file "Population.xml".
- Optional Additional Task: Write a second script "transform3optional.xls" that outputs tables for years: {2010, 2000, 1990,...,1960}. Create a template that you call by name and pass a parameter (year) to it in order to do this.
Additional Information:
This problem is from HTML as well as it is about creating website using HTML which displays statistical data pertaining to countries. The population growth rate of Australia has to be displayed in tables in one of website's pages.
Swot analysis for a company that produces a physical product
: A SWOT analysis is to be written on an organisation that you will be choosing for your Marketing Plan. The organisation can be either a Singapore or an International company; they can be a service provider or a company that produces a physical pro..
|
Discuss how the idea and symbolism of religion relate
: Discuss how the idea and symbolism of religion relate to the spiritual journey of the narrator. Be sure to refer to specific quotations from the text to support your main points.
|
Write a article review of becoming a critic of your thinking
: Explains an article review of "Becoming a Critic of Your Thinking" by Paul & Elder, 1997. The article as the name suggests, the article is about how to constructively criticize oneself of the thoughts that come in one's mind.
|
Calculate change in firms eps-change in capital structure
: Consider a firm with an EBIT of $10,500,000. The firm finances its assets with $50,000,000 debt (costing 6.5 percent) and 10,000,000 shares of stock selling at $10.00 per share. Calculate the change in the firm’s EPS from this change in capital struc..
|
Develop a website which can store country-wise data
: Use the data in the XML documents provided to perform the tasks below:
|
Greatest good for a man to discuss virtue every day
: greatest good for a man to discuss virtue every day
|
End-of-year balance in retained earnings
: Jamaica Tours, Inc., started the year with a balance of retained earnings of $1,780 million. The company reported net income for the year of $284 million and paid dividends of $17 million to the preferred stockholders and $59 million to common stockh..
|
Assignment on purdue''s policy on academic integrity
: What do you believe the consequences be if a student is caught cheating by using a crib sheet on an exam when crib sheets are explicitly not allowed in the exam
|
Report on quicksort algorithm in c language
: The quicksort algorithm was developed in 1960 by Tony Hoare while in the Soviet Union, as a visiting student at Moscow State University.
|