Hi, I'm using JDK 5.0 + Tomcat 5.5. There is no problem with transforming a xml using the default transformer of JDK: System.setProperty("javax.xml.transform.TransformerFactory", "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
But when I set it to Xalan-J (having xalan.jar ver. 2.7.0 in classpath): System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.xsltc.trax.TransformerFactoryImpl"); gives me error: ERROR: 'org/apache/xml/serializer/Encodings' FATAL ERROR: 'Could not compile stylesheet' javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet. What is the problem?