XSLT Tutorial
-
On the website are links to the style sheets referred to in the Quick Quiz exercises.
Try applying them to goodBooks.xml and make sure you understand how they behave.
-
Change eg2e.xsl so that when applied to goodbooks.xml it displays the following:
-
tut3.xml (on the website) contains details of photographs.
Create a style sheet to display it as follows:
-
Optional - slightly tricky exercise
Change your answer to the previous exercise to generate a list of links to the actual photographs to display as shown below.
Clicking on a link should display the photo.
-
Modify example 7 (eg7.php source, insert.php source and XSLT)to read the CV XML that you developed in last week's XML tutorial into a MySQL database.
How would this work if your XML contained a list of CVs?
Extend your solution to allow extra information to be added to the data read from XML.
What sort of thing would be required (consider your coursework)?