final String xsltcMessage = "org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl "+ "could not create an "+ "org.apache.xalan.xsltc.trax.TransformerFactoryImpl.";   try { Class xsltcFactClass = Class.forName( "org.apache.xalan.xsltc.trax.TransformerFactoryImpl"); _xsltcFactory = (org.apache.xalan.xsltc.trax.TransformerFactoryImpl) xsltcFactClass.newInstance(); } catch (ClassNotFoundException e) { System.err.println(xsltcMessage); } catch (InstantiationException e) { System.err.println(xsltcMessage); } catch (IllegalAccessException e) { System.err.println(xsltcMessage); }
_xsltcFactory = new TransformerFactoryImpl();
    private void createXSLTCTransformerFactory() {	// set up error messages from each factory... 	final String xsltcMessage =	    "org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl "+            "could not create an "+            "org.apache.xalan.xsltc.trax.TransformerFactoryImpl.";		// try to create instance of XSLTC factory...		try {	    Class xsltcFactClass = Class.forName(		"org.apache.xalan.xsltc.trax.TransformerFactoryImpl");	    _xsltcFactory = (org.apache.xalan.xsltc.trax.TransformerFactoryImpl)		xsltcFactClass.newInstance();	} 	catch (ClassNotFoundException e) {	    System.err.println(xsltcMessage);	}  	catch (InstantiationException e) {	    System.err.println(xsltcMessage);	} 	catch (IllegalAccessException e) {	    System.err.println(xsltcMessage);	}	_currFactory = _xsltcFactory;    }