Develop a website which can store country-wise data

Assignment Help Basic Computer Science
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.

Reference no: EM13829738

Questions Cloud

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.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd