Get in touch with us
Send us an e-mail
Question
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.
c. 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”.
b. 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.
Summary
The question belongs to HTML and it is about creating a website using HTML which displays statistical data pertaining to countries. The population growth rate of Australia has to be displayed within tables in one of the website’s pages.
Total Word Count NA
Download Full Solution
I always wished to be a tax attorney and my dream has come true with the assistance of HwA. After completing my graduation in law I pursued a master degree on taxation. However, I faced severe problems while dealing with the numerical given as assignments. Then one of my friends suggested about this website and I got wonderful response.
I was really struggling with the effect of current and magnetism assignments in undergraduate class when I came across TheReliableTutor and they really have brilliant Physics electricity Online Experts. The experts have worked on my Physics electricity solution and helped me get good grades.
I was pursuing my MSN degree when I thought of specializing in musculo-skeletal patients and it was back in 2008 when I came across HwA and learned a lot about the interventions and assessment strategies.
I was very badly stuck with my clinical research assignment where I needed to apply hypothesis testing. I was unsure about how this website will help me out but to my wonder I found out that these experts are all intensely equipped with all the knowledge and posses all the faculties to deal with the assignment. From then onwards I started taking advice and help from them on a regular basis and now reaping the benefits of the same
After I moved to Australia to study Computer Science and Engineering, I found out that the things are quite different than what it used to be in the Indian universities. The course structure is much more practical oriented and thus the numbers of assignments are also more. I was clueless and was struggling to cope when I came across HwA. Thanks to them I got through my first two semesters with good grades and that boosted my confidence. Now I am pursuing my post-graduation from a Queensland based reputed technology university and still taking help from HwA.
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.