Package 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.
    • Constructor Detail

      • WinStyleSheet

        public WinStyleSheet()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.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.

        Throws:
        java.lang.Exception