COAP:COAP-2180/week4
Jump to navigation
Jump to search
Week 4 COAP 2180
( under construction )
On week four you will learn how to transform XML content, e.g. for rendering with HTML
- Creating a simple XSLT Sheet I:
- Elementary XPath
- Simple XML to HTML node transformation with XSLT XSLT templates and node selection
- XSLT value extraction
This homework can be part of your term project.
Teaching materials
Tour de XML (This week: to be announced)
XSLT and XPath
- DTD tutorial (wiki lecture notes)
- xml-dtd.pdf (slides)
Examples files (same as before)
Textbook chapters
If you find that my lecture notes and slides are incomplete, too short or not good enough, reading either one or both texts is mandatory !
- XML in a Nutshell, Chapter 3 Document Type Definitions (start here)
- Learning XML, Chapter 4 Quality Control with Schemas (additional reading)
These chapters are available through the world classroom.
- For the adventurous
- XML Category (All XML-related articles in this wiki)
- XML (on Wikipedia)
Homework 4 - Week 4
Task
- Translate the example XML file of Homework 3 into HTML
- Make sure that a potential user can understand the content
- Do not worry too much about styling, but you do may use CSS elements in the output.
Tips:
- Use a rule for each of your elements
- Elements that only include other elements and no text should just be made into <div> .... </div> blocks
Deadline and submission:
- Monday week 5 (before start of class)
- Use the world classroom: https://webster.blackboard.edu/
- Submit the *.dtd, the *.xml test files, the *.xslt file, an optional CSS file and an optional report file (see below)
Evaluation criteria (roughly)
Work considered as weak:
- Incomplete rendering of elements
Work considered as minimalistic:
- Minimal rendering of elements, e.g. no extra information inserted
Good work may include one or several of the following
- Inserted comments in the XSLT that explain some (not all of the translation)
- Adding extra information
- Good usability of the result
Excellent work (A-) includes in addition
- Some CSS
Brilliant work (A)
- Does most of the above, i.e. produces a result that could be used in real life.