I am running an example of an parsing a XML Stylesheet.
The code asks me to import org.apache.xalan.xslt.*;
The problem is my xalan.jar does not contain the XSTLInputSource.class file. I downloaded another xalan.jar file from apache I unpacked it to find that it also did not contain the XSTLInputSource.class file.
Where can I find this class. Has it been replaced with another java class.
I guess you are trying to use an deprecated & deleted method of xalan, you can acheive the same function by using javax.xml.transform.Source org.apache.xalan.processor.TransformerFactoryImpl or org.apache.xalan.processor.TransformerFactory javax.xml.transform.Transformer
Some one please correct me if i'm wrong. [ May 14, 2004: Message edited by: Balaji Loganathan ]
As an experiment I did a search for XSTLInputSource on google - no hit Then I tried XSLTInputSource - lots of hits XSLT not XSTL But - they appear old - one copyright is 2000. So it looks like Balaji is right. I suspect that the generalized Source interface in the javax.xml.transform package (Java 1.4sdk) and the implementations in DOMSource, SAXSource and StreamSource have replaced XSLTInputSource. There was a big effort at rationalization of a bunch of confusing XML toolkits. Bill
Joined: Jun 29, 2002
Thanks everyone, I will use TransformerFactoryImpl for XSTL conversions.