[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi, i try to run this code to transform XML but without success, it give me an error, "no such method error"
Can anyone plse help me out with this? it is very urgent...
Thanks!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] I can't transform XML in code...
Subject: [xsl] I can't transform XML in code... From: "Poh Justin KT" <nitsujpoh@xxxxxxxxxxx> Date: Fri, 27 Apr 2001 16:17:47 +0800 |
Hi, i try to run this code to transform XML but without success, it give me an error, "no such method error"
Can anyone plse help me out with this? it is very urgent...
import org.apache.xalan.xslt.XSLTProcessor; import org.apache.xalan.xslt.XSLTResultTarget; import org.apache.xalan.xslt.XSLTInputSource; import org.apache.xalan.xslt.XSLTProcessorFactory; import com.lotus.xsl.*; import org.xml.sax.SAXException; import java.io.*; import org.xml.sax.*;
public class test30 { public static void main(String[] args) { try { XSLTInputSource inputXML = new XSLTInputSource("trying1.xml"); XSLTInputSource inputXSL = new XSLTInputSource("trying.xsl"); XSLTProcessor processor = XSLTProcessorFactory.getProcessor(); processor.process(inputXML, inputXSL, new XSLTResultTarget(System.out)); }catch(Exception e) { System.out.println(e); } } }
Thanks!
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: XSL Line Breaks/Indentati, David Carlisle | Thread | RE: [xsl] I can't transform XML in , John Wang |
Re: [xsl] sorting product descripti, Tobias Reif | Date | RE: [xsl] URGENT: Please help, Michael Kay |
Month |
Keywords