// 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());
XSLTResultTarget xmlResult = new XSLTResultTarget (writer);
// Perform the transformation.
processor.process(xmlSource, xslSheet, xmlResult);