This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
teaching:infoh509 [2019/03/13 16:27] gdejaege [Practical Sessions] |
teaching:infoh509 [2019/03/20 09:22] svsummer |
||
---|---|---|---|
Line 78: | Line 78: | ||
<note tip>You can use these simple {{:teaching:infoh509:validationtools.zip|validation tools}} (written in Java) to help check if your example documents conform toyour XSD. Unzip the file, and then use either ''java -jar DTDValidator.jar <xmldoc>'' or ''java -jar XSDValidator.jar <schemadoc> <xmldoc>'' to validate. The third jar file contains the source code, should you be interested.</note> | <note tip>You can use these simple {{:teaching:infoh509:validationtools.zip|validation tools}} (written in Java) to help check if your example documents conform toyour XSD. Unzip the file, and then use either ''java -jar DTDValidator.jar <xmldoc>'' or ''java -jar XSDValidator.jar <schemadoc> <xmldoc>'' to validate. The third jar file contains the source code, should you be interested.</note> | ||
+ | |||
+ | ==== Lecture 5: Transforming XML documents with XSLT === | ||
+ | |||
+ | In Lecture 5 we have discussed how XML documents can be transformed | ||
+ | into other formats (be it XML or not) using XSLT. See pages 188-239 in | ||
+ | the book (**except sections 5.8.5, 5.8.7, 5.8.9, 5.8.10 and 5.11**) and | ||
+ | the {{:teaching:infoh509:5-xslt.pdf|corresponding slides}}. | ||
+ | |||
+ | ==== Project Assignment 2: XSLT ==== | ||
+ | |||
+ | Write a single XSLT 2.0 stylesheet that generates, starting from the | ||
+ | dblp-excerpt.xml file, a number of HTML files that together | ||
+ | collectively emulates part of the DBLP website. Read the | ||
+ | {{:teaching:infoh509:deux_en.pdf|full assignment}}, and download the | ||
+ | corresponding {{:teaching:infoh509:deux_xslt_data.zip|support files}}. | ||
+ | |||
+ | This assignment is to be made in groups of | ||
+ | two persons and contributes 2/20 to the overall grade (there are two | ||
+ | more assignments to follow, each contributing 2/20). The written exam | ||
+ | contributes the remaining 14/20 points. | ||
+ | |||
+ | See the full assignment for related dealine(s), what the solution should entail, and to whom it should be submitted. | ||
+ | |||
+ | <note tip>The zip file above contains a XSLT transformation tool. You can use ''java -jar xslt-tool.jar <xslt-file> <inputfile> <outputfile>'' to run it. </note> | ||
===== Practical Sessions ===== | ===== Practical Sessions ===== |