Subject: RE: [xsl] Java Moron attempting to run Saxon 7.6.5 - could use some pointers From: "Michael Kay" <mhk@xxxxxxxxx> Date: Mon, 25 Aug 2003 11:50:00 +0100 |
> > I know nothing about Java, I've got a Windows XP > machine and all the development we do is in a windows > environment...however the Saxon 7.6.5 processor is the only > one that supports XSLT 2.0 and I really need to be able to > use it!! Could someone give me some idea how to be able to > execute my XSLT 2.0 stylesheets using Saxon 7.6.5 on my > Windows machine...or maybe point me to some instructions that > make sense on how to do so? > In the past, I tended to encourage people who knew nothing about Java to use Instant Saxon rather than full Saxon, mainly because this saved me the trouble of helping them with installation. But with the demise of Microsoft Java, this isn't really an option any more. But it's not really difficult. To get started, download JDK 1.4 or JRE 1.4 from http://java.sun.com/ Initially you will only need the JRE, which is much smaller, but you'll probably need the full JDK eventually. Install it (this is completely straightforward) and find out where the java.exe executable is - it will typically be somewhere like c:\j2sdk1.4.1_02\bin\ if you installed the JDK, or "c:\Program Files\JavaSoft\JRE1.4.1_02\bin" if you installed the JRE. Add this to your PATH. Find a text editor that allows you to run commands from the command line (you can do it from the DOS console, but that's a real pain). I use UltraEdit, but there are others that are free. Download Saxon as a ZIP file, unzip it into c:\saxon, so the JAR file goes into c:\saxon\saxon7.jar Then enter the command "java -jar c:\saxon\saxon7.jar source.xml style.xsl >output.html". That's the basics. To use extension functions, or to write your own applications that use Saxon, you'll have to learn rather more about Java and classpaths, but this should get you started. Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Java Moron attempting to , Dimitre Novatchev | Thread | [xsl] EXSLT/XALAN 2.5.1 Current Dat, Bita Jooon |
[xsl] simple question regarding xsl, Robert P. J. Day | Date | [xsl] parsing entities, silvan |
Month |