張貼日期:Sep 14, 2011 3:45:13 AM
The objective of the Individual Assignment is to develop an XML Schema that captures the information describing a recent Typhoon as described at this web site:
Typhoon Conson is an example of one specific Typhoon. The XML Schema developed should be able to describe any Typhoon.
The following should be developed:
A single XML Schema that incorporates all the general and specific information about the Typhoon using the best semantic structure, with optimal flexibility, represented by elements and attributes. This should capture the following:
The textual Report, including a structure for the when and what level the first signal was issued and cancelled, the lowest Sea-Level Pressure, and the closest distance the Typhoon came to Hong Kong and the direction and when this ocurred.
The Figures, including a link to the actual image, the name of Figure, and any other details.
The Tables, including the name of Table, and all the information presented in the table data.
A sample instance XML document using the data from Typhoon Conson - so that most (if not all) of the elements/attributes appear. (Note: There is no need to enter all the Typhoon data (text and tables) - just enough to show that all of the elements/structure are being used.) The instance XML document should be validated using the XML Schema.
An XSLT/Xpath document that calculates and outputs the total rainfall values for all the Stations from the second Table. The output HTML should just be a table with the Station Name and total Rainfall for that station, and the grand total.
The assignment marks will be allocated:
XML Schema: 80%
Instance XML: 5%
XSLT/HTML: 15%
Individual Assignments should be submitted via the Electronic Assignment Submission System by the due date.
NOTES:
Please ensure that your Student Name and ID appears in each of the XML files (as comments).
Please use your Student ID for the four filenames (eg 2005XXXXXX.xsd, 2005XXXXXX.xml, 2005XXXXXX.xslt, 2005XXXXXX.html) to be submitted. (Note, these files, when placed into a single directory, should validate using XML Schema software.)
All the files must be zipped into a single package and MUST be named using your student ID (eg 2005XXXXXX.zip).
A Penalty of 10% will be applied for each day (or part day) that the Assignment is overdue.
Please be aware of the University Plagiarism Handbook.