// Use XSLTProcessorFactory to instantiate an XSLTProcessor.
XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
// Create the 3 objects the XSLTProcessor needs to perform the transformation.
// Fix up the args...
XMLParserLiaison xmlPL = processor.getXMLProcessorLiaison();
URL urlTmp = xmlPL.getURLFromString(args[0], null);
System.err.println("XML File: " + args[0]);
System.err.println("URL: " + urlTmp);
XSLTInputSource xmlSource =
new XSLTInputSource (urlTmp.toString());
urlTmp = xmlPL.getURLFromString(args[1], null);
System.err.println("XSL File: " + args[1]);
System.err.println("URL: " + urlTmp);
XSLTInputSource xslSheet =
new XSLTInputSource (urlTmp.toString());