Instant SAXON

version 5.3.2


 

Contents
What is Instant SAXON?
Installation
Writing a stylesheet
Running a stylesheet
Conditions of Use
Full SAXON
A D V E R T I S E M E N T
For comprehensive information about using XSLT
see my new book
XSLT Programmers Reference
published by Wrox Press

What is Instant SAXON?

Instant SAXON is a cut-down version of the full SAXON package. It provides an XSLT processor that can be executed directly on Windows 95/98/NT/2000 platforms.

The XSLT processor is a complete implementation of the W3C XSLT 1.0 specification from the World Wide Web Consortium, found at http://www.w3.org/TR/1999/REC-xslt-19991116 (including the associated XPath syntax) with a number of powerful extensions


Installation

Prerequisites

You need a machine running Windows (95, 98, NT, or 2000), with the Microsoft Java Virtual Machine. The Java VM will already be installed if you use Internet Explorer 4 or later; if it is not, you can download it free from Microsoft.

You will need an unzip utility such as WinZIP.

Because the product is run from the command line, you might find it useful to have a text editor with better command-line support than the standard DOS window. I use Programmer's File Editor (PFE), a free product available from a number of download sites, for example softseek.com.

No other software is required. Instant SAXON comes with a bundled XML parser, the AElfred parser from Microstar. The parser has been modified to support the SAX2 interface so that it notifies comments to the stylesheet processor.

Download

Download the file instant-saxon.zip (250 Kb) to a convenient directory.

Unzip the file into the directory from which you intend to execute it, e.g. c:\saxon

It contains two files: saxon.exe, which is the XSLT processor, and instant.html, which is the file you are reading.


Writing a stylesheet

The syntax for stylesheets is exactly the same as for the full SAXON product. It is described in the following pages:

For more advanced functionality, such as writing your own extension functions, please see the documentation that comes with the full SAXON package.


Running a stylesheet

The SAXON XSL interpreter is designed to be run from the command line: