Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91399600
  • Price:- $45

Priced at Now at $45, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Question 1 designing team and team identityusing the

Question: 1. Designing Team and Team Identity. Using the Internet, team should read at least 5 academically reviewed articles on designing. 2. Please do not change the wording of the original summary. Include the team me ...

An exam has 5 multiple choice questions with 2 possible

An exam has 5 multiple choice questions with 2 possible answers each, and 5 true and false questions. Assume each question on the test counts 10 points, and that each question has a unique answer. If a student guesses ea ...

Need guidance on a c program that1 asks the user to input a

Need guidance on a C++ program that: 1. Asks the user to input a number of cents 2. Calculates and displays the number of quarters, dimes, nickels, and pennies that should be used to reach the value. EX: 67 cents would b ...

Decision support systems dss what sorts of dss tools do you

Decision support systems (DSS). What sorts of DSS tools do you use at your work - e.g., what-if analysis, sensitivity analysis, scenario analysis, goal-seeking analysis, optimization analysis, etc.? Even if you don't use ...

To review stacksdirections write java code that prompts the

To review stacks Directions : Write Java code that prompts the user for a string and tells them if the grouping characters in that string are balanced. Grouping characters are ( and ), [ and ], and { and }. I got the bas ...

What is the various security architectures which provides

What is the various security architectures. Which provides the best balance between simplicity and security? Justify your answer.

A 2500ml sample of sulfuric acid a diprotic acid was

A 25.00mL sample of sulfuric acid, a diprotic acid, was titratedwith 24.66mL of aqueous NaOH. Upon evaporation, 0.550g of drysodium sulfate was recovered. a. What is the normality of the sulfuric acid b. What this the no ...

You are running a memory-intensive multimedia application

You are running a memory-intensive multimedia application on your computer, which has 1 GB RAM installed. You observe that the computer momentarily stops responding when you switch between two multimedia applications. Yo ...

If we believe the percent to be 75 how many police officers

If we believe the percent to be 75%, how many police officers must we survey to estimate the proportion of officers who graduated from a police academy if we want to ensure we can be 99% we are within 2% of the true prop ...

Technology certainly does play a large role in our lives

Technology certainly does play a large role in our lives and this has happened in a very short period of time. It has impacted the way we activities professionally, personally, and academically. For example, online educa ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As