Karen Vagts: XML Portfolio
[ XML Course Web Page ]
[ XML
Portfolio Home ]
[ XML Resources ]
Assignment 4
Create three different transformations
to manipulate the .xml from Assignment
3. Due 28 February 2007.
In this assignment, we take the XML sheet produced
in Assignment
3 and use Extensible Stylesheet Language Transformations
(XSLT) to "transform" the data into some
other medium, such as an HTML page. Several
examples are produced here.
- Very basic XSLT sheet that just takes the entire
XML sheet as it -- doesn't do anything
particular or distinquish between elements.
See basic XML sheet >> and
related transformation sheet >>
- This is a more meaningful output that displays the data as a table. I'm not sure why the introductory information is repeated under the table header but at least I could get line breaks between the names of provinces and languages!
See basic XML sheet >> and
related transformation sheet >>
- This uses the same information as example 2
but as a list form rather than
a table. This uses the XSL "for
each" option. I was unable to get
line breaks between the names of provinces
and languages! See basic XML sheet >> and
related transformation sheet >>