Ian's books
| CPU Magazine
XSLT Part 8: XSLT Tools for Generating Links
As described in the August 2003 issue of
CPU - Computer Power User
magazine. This article builds on the examples described in the April,
May, June, and July 2003 issues. These examples are found:
here (April)
(http://www.utoronto.ca/ian/articles/apr03/),
here (May)
(http://www.utoronto.ca/ian/articles/may03/),
here (June)
(http://www.utoronto.ca/ian/articles/jun03/), and
here (July)
(http://www.utoronto.ca/ian/articles/jul03/).
Examples and Bonus Materials
A) Downloadable ZIP File
- Why not download the
whole lot as a ZIP file -- aug03.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.
- For comparison, here's last month's example --> test-orig.xml
(plain text: test-orig.txt).
This is
similar to this month's document, except that each item element
has a ref attribute that provides a unique identifier for the
item.
C) The XSLT Stylesheets
D) Bonus "Top Pick Tool" -- XPath Visualizer
XPath Visualizer is a great tool for visualizing the nodes
referenced by an XPath expression -- and it works within
both Internet Explorer and Netscape Navigator 6+ / Mozilla browsers.
The following URLs explain more about how the utility works, and provide
links for downloading the required Web pages and javascript code:
Tutorials, Books, References, and Tools