• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XALAN Imports

 
Marvin Monk
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic