xsl.setParser(createParser());
try {
String url = new URL("file", "", xslPath).toString();
log.info("Reading from "+url);
xsl.loadStylesheet( new InputSource( new URL("file", "", xslPath).toString() ) );
log.info("Successfully read from "+url);
}
catch ( Exception e) {
log.severe(e.toString());
throw new XmlBlasterException(ME,"Could not read XSL file.");