|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Trouble with LotusXSL
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






