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

  Which a person requests a service and diagram

Take an example from your work or school in which a person requests a service and diagram that request. Does the request pass through any layers before it reaches the intended recipient? Do logical connections as well as physical connections exist? S..

  Lists the five different it systems identified

Create a diagram using Visio that lists the five different IT systems you identified

  Examine how coppa and cipa are similar and how they are

write a three to five 3-5 page paper in which you describe the main compliancy requirements and the protected

  The southern tiny college to develop student registration

You have been employed by the Southern Tiny College to develop Student Registration System. To understand the functions of Registrar Office, you have spent some time talking to various personnel in the Registrar Office and also you've examined ..

  Electronic health record

Write a paper on Electronic Health Record (EHR) Research and Summary.

  Current desktop processors available from both amd and intel

Research from the CSU Online Library and the other sources for the current desktop processors available from both AMD and Intel. Next, provide the requirements for several PC builds (a low cost computer, a mid-range, and a high- performance computer)..

  Input and output devices of a computer

Write a one page paper in APA format on the input and output devices of a computer

  Secure computing

Secure Computing

  Explaining visible and consistent management support

Illustrate visible and consistent management support. Establish privacy responsibilities. Privacy needs need to be incorporated into any position which handles personally identifiable information (PII).

  How does information technology support supply chains

How does information technology (IT) support supply chains and business processes in the global marketplace?

  Work with classes as reusable code

Objective: Work with classes as reusable code and random numbers. Instructions: A slot machine is a device that the user inserts money into and then pulls a lever (or presses a button).

  4 bit binary representation using excess 7

Assuming a 4 bit binary representation using excess 7 list all bit sequences for integers -7 to +8

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