Banner

 

13 - XML
Slide Exercises

A conglomerate requires each of its business units to submit an xml document at the end of each month reporting its revenue, costs, and people employed for the countries in which the unit operates. The currency of revenue and costs should be indicated using the ISO currency code. Design the schema.

report.xsd

Create an XML file containing data for three countries using the schema developed previously.

report.xml

The multinational company for which the schema was delivered previously operates in Australia, Bulgaria, India, Turkey, Moldova, Romania, USA, UK, and Uzbekistan.

Edit the report schema to check that the currency code is for one of these countries.

reportv2.xsd

Use XSLT to create a html report of revenue for each country.

report.xsl

This page is part of the promotional and support material for Data Management (open edition) by Richard T. Watson
For questions and comments please contact the author

Date revised: 17-Oct-2022