aspose file tools*
The moose likes XML and Related Technologies and the fly likes XALAN Imports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XALAN Imports" Watch "XALAN Imports" New topic
Author

XALAN Imports

Marvin Monk
Greenhorn

Joined: Dec 03, 2001
Posts: 8
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

Joined: Jul 02, 2003
Posts: 247
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
 
jQuery in Action, 2nd edition
 
subject: XALAN Imports