Set <transformerFactory/> on net.sf.saxon.TransformerFactoryImpl.