com.icl.saxon

Class WinStyleSheet


public class WinStyleSheet
extends StyleSheet

This WinStyleSheet class is used in instant-saxon, a packaged interface to the StyleSheet interpreter, intended for use with jexegen on Windows platforms. It uses the SAXON version of the AElfred parser, which has been modified to deliver comments to the application.

Field Summary

Fields inherited from class com.icl.saxon.StyleSheet

factory, namePool, repeat, showTime

Method Summary

static void
main(args[] )
Main program, can be used directly from the command line.

Methods inherited from class com.icl.saxon.StyleSheet

badUsage, doMain, main, makeTraceListener, makeURIResolver, processDirectory, processDirectoryAssoc, processFile, processFileAssoc, quit

Method Details

main

public static void main(args[] )
            throws Exception
Main program, can be used directly from the command line.

The format is:

java com.icl.saxon.StyleSheet [-u] source-file style-file >output-file

followed by any number of parameters in the form {keyword=value}... which can be referenced from within the stylesheet.

The -u option indicates that the source-file and style-file are given in the form of URLs; by default they are interpreted as file names.

This program applies the XSL style sheet in style-file to the source XML document in source-file.

Overrides:
main in interface StyleSheet