Re: Trouble with LotusXSL

Subject: Re: Trouble with LotusXSL
From: "SeJo" <selim.cesic@xxxxxxxxx>
Date: Mon, 17 Jan 2000 09:14:29 +0100
I'm using LotusXSL as well.....I think that your parameters aren't in right
order.
It should be:

processor.process("dynlist.xml", "dynlist.xsl", "dynlist2.html");

instead of:

processor.process("dynlist.xsl", "dynlist.xml", "dynlist2.html");



cheers

SeJo



> I've been trying to set up the LotusXSL parser and run a simple java
> application to test out the XSL processor.  The app appears to run, but
all
> it does is rename the file indiciated in my -xsl parameter with an html
> extension but no XSLT actually occurs.
>
> I'm using lotusxsl_0_19_2, and xml4j_3_0_0EA3J.
>
> Here's my app...
> import com.lotus.xsl.*;
> import org.xml.sax.*;
>
> public class testLotusXSL
> {
>
>      static public void main(String[] args)
>      {
>           try {
>                XSLProcessor processor = new XSLProcessor();
>                file://param 1 - xml file
>                file://param 2 - xsl file
>                file://param 3 -output file (html)
>                processor.process("dynlist.xsl", "dynlist.xml",
"dynlist2.html");
>           }
>
>           catch (Exception e){
>                System.out.println(e.getMessage());
>                System.out.println(e.toString());
>           }
>      }
> }
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread