Understanding XSL
Added 26 Jul 2008
In order to display the sample document, we must handle five cases:
1. the document element,
2. the document title,
3. paragraphs,
4. emphasis (can be nested),
5. figures.
In this example, we'll use XSL to transform our XML document into HTML (see Example). Each template in our style sheet
"instantiates" a small part of the result tree. XSL knits all of these fragments
together to form the complete result tree.
A Document My Document
This is a short document.
It only exists to demonstrate a
simple XML document.
Figure 1.
My Figure
