Thanks to Gayathri Prasad and Balaji Logan for telling me about using XALAN for dynamic XSLT transformations of XML. My problem now is getting XALAN to work. The code in the referenced OnJava article begins with the following imports: import org.apache.xalan.xslt.XSLTProcessor; import org.apache.xalan.xslt.XSLTEngineImpl; I have downloaded Xalan-j_2_5_1, and moved xalan.jar, xercesImpl.jar, and xml-apis.jar to my <JAVA_HOME>/lib/endorsed/ directory. I am using j2sdk1.4.1_01. My compiler cannot find the imports. When I examine the jar files, I can't find them either...the only similar names in xalan.jar are org.apache.xalan.xslt.EnvironmentCheck.class and org.apache.xalan.xsltProcess.class Possibly this post belongs in the "Java Newbie" section?? Thanks...Marv
posted 12 years ago
Hi Marvin, org.apache.xalan.xslt.XSLTProcessor belongs to Xalan-Java 1 that is no more supported... you have downloaded xalan version 2 with different interfaces!! Cyril.
SCJP 1.4, SCWCD, SCBCD, IBM XML, IBM Websphere 285, IBM Websphere 287