I have implemented a URL external task in Java (using CSSDK) that performs an XSL transformation.The code is as follows:*BEGIN CODEimport javax.xml.transform.Transformer;import javax.xml.transform.TransformerFactory;... StreamSource transform = new StreamSource(xslFileInputStream); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(transform);*END CODEI have verified that xslFileInputStream is a valid file, and that it contains what I expect. The problem is, the call "tf.newTransformer()" returns null, which according to the API documentation should never happen.Has anyone come across this issue before?Thanks,Dhruva
StreamSource xsltransformsource = new StreamSource("Source.xsl"); StreamSource transformsource = new StreamSource("Process.xml"); StreamResult transformresult = new StreamResult(System.out); TransformerFactory tf = TransformerFactory.newInstance(); Transformer transformer = tf.newTransformer(xsltransformsource); transformer.transform(transformsource, transformresult);