Ian's books
| CPU Magazine
XSLT Part 7: Named templates, template modes, and Links
As described in the July 2003 issue of
CPU - Computer Power User
magazine. This article builds on the examples described in the April,
May, and June 2003 issues. These examples are found
here (April)
(http://www.iangraham.org/writing/cpu-articles/apr03/),
here (May)
(http://www.iangraham.org/writing/cpu-articles/may03/), and
here (May)
(http://www.iangraham.org/writing/cpu-articles/jun03/).
Examples
A) Downloadable ZIP File
- There are lots of little examples here -- why not download the
whole lot as a ZIP file -- jul03.zip --
and install them on your own machine?
B) The Raw Data
- test.xml -- The simple example XML data
document used in the article -- this contains the raw data that
is transformed into HTML. A plain text version is available at
test.txt. Note that the test.xml file
contains a processing instruction to reference an external
stylesheet -- Internet Explorer will load this external stylesheet,
with unpredictable results.
C) The XSLT Stylesheets
C) Bonus Material -- Document with a DTD
Tutorials, Books, References, and Tools