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

  Cnditions under which full offsite backup is worth the cost

Discuss conditions under which it is worth the cost. Suggest some kind of compromise, lower cost solutions that still proved some recovery capabilities, and cases where these might be a preferred alternative.

  Assignment related to excel

1. Use the "Select All" button and the "bold" buttons to bold the entire worksheet. 2. Design and create your own Company name and worksheet title 3. Enter column titles (Sales Person, Sales, Returns, Number of Items Sold, Net Sales, Sales Quota an..

  Example of the effect of multithreading

Imagine you are a graphic artist working on an animation for a movie. Describe at least one (1) possible effect that multithreading could have on your work process. Support your response with at least (1) example of the effect of multithreading.

  Encrypt and decrypt messages

Write a program in C, in the Ubuntu Linux environment, to provide the end user with the ability to encrypt and decrypt messages, using a secret key

  Created a new pdf portfolio with all identified elements

Created a new PDF portfolio with all identified elements. Used correct spelling, grammar, and professional vocabulary.

  Truth table validity of demorgan-s theorem for variables

Find out by means of truth table validity of DeMorgan's theorem for three variables: (ABC)' = A' + B' + C'. Simplify given expressions by using Boolean algebra.

  Implement a personal scheduler windows application

Description: Implement a personal scheduler Windows application. The application should have the following features: Create a new Java Project named SchedulerApp. Add a new package named business.

  Evaluate an organizations strategic business units

Discuss the concept of perceived value and its importance to consumer behaviour and marketing. Discuss the theory and then give practical examples of how customers perceive various brands and how this impacts on their behaviour.

  What is the accuracy of a two-bit predictor

What is the accuracy of a two-bit predictor, assuming the predictor starts off in the bottom left state? What if the pattern repeats forever?

  Issue -internet changed political interactions globally

Write a 500 word essay based on the issue of ways in which the internet has changed political interactions globally. These might involve political activity in several specific countries,

  Find the sum of a fibonacci series upto n terms

Find the sum of a Fibonacci series upto n terms, where n is the input of a Matlab program using for loop. First term i.e. F1=1 and Second term F3=1.uestion here

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