to the main page... about these slides...

An example

We will now use XSLT to define a transformation from our article-class of XML documents (see article.dsd) into HTML.

This XSLT example illustrates

In particular, it shows how to use XSLT to automatically generate section numbering and references.

It is left for the reader as an exercise to add automatic sorting, numbering, and referencing for article citation references.

The complete stylesheet: article2html.xsl
The original XML article document: article.xml
The resulting HTML article document: article.html

Some selected snippets coming up...