1 package com.icl.saxon; 2 import com.icl.saxon.handlers.*; 3 import com.icl.saxon.expr.*; 4 import com.icl.saxon.style.*; 5 import org.xml.sax.SAXException ; 6 import org.xml.sax.*; 7 import java.util.*; 8 import java.io.*; 9 10 16 17 public class WinStyleSheet extends StyleSheet { 18 19 20 30 31 public static void main (String args[]) throws java.lang.Exception 32 { 33 Properties props = System.getProperties(); 34 Properties newprops = new Properties(props); 35 newprops.put("javax.xml.parsers.SAXParserFactory", 36 "com.icl.saxon.aelfred.SAXParserFactoryImpl"); 37 newprops.put("javax.xml.transform.TransformerFactory", 38 "com.icl.saxon.TransformerFactoryImpl"); 39 System.setProperties(newprops); 40 WinStyleSheet w = new WinStyleSheet(); 41 w.doMain(args, w, "saxon"); 42 } 43 44 } 45 46 | Popular Tags |