Subject: RE: [xsl] File management via XSLT From: "Kamau, Allan" <akamau@xxxxxxxxx> Date: Mon, 1 Dec 2003 09:13:29 +0300 |
Hi Nicola, You may use xalan from the apache.org foundation. If you are conversant with Java, you may opt for the java implementation of xalan (xalan-j). I use the java implementation of xalan (xalan-j) found at http://xml.apache.org/xalan-j/index.html. It is very easy to use the only requirement is that you have Java installed on your workstation or server, then you install xalan-j, you'll find installation details from the address above. You may then start transforming your xml file(s) against your xsl file(s) using command line options that you'll pass when calling xalan. You may call xalan like so. $JAVA_HOME/bin/java org.apache.xalan.xslt.Process [-PARAM yourparametername parametervalue [yourparametername2 parametervalue2[..]] -IN path-to-your-xml-file -XSL path-to-your-xslt-file -OUT path-to-the-resulting-tranformed-file Later you may want to incorporate xml transformation into the application(s) you write in Java. For this you may very easily use xalan-j. The apache.org site will have a lot of examples on how to achieve this. Allan. -----Original Message----- From: Jim Fuller [mailto:jim.fuller@xxxxxxxxxxxxxx] Sent: 29 November 2003 13:11 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] File management via XSLT You have a range of XSLT processor options; goto http://www.dpawson.co.uk/xsl/sect1/N303.html I would personally recc. SAXON, to be found at saxon.sourceforge.net Gl, jim fuller -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Nicola Martella Sent: Saturday, November 29, 2003 6:48 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Ok Pietschmann, now I've understood. Under Windows I can use MSXML. Have you some suggestion for a processor under UNIX/Linux? Nicola ----- Original Message ----- From: "J.Pietschmann" <j3322ptm@xxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, November 28, 2003 8:18 PM Subject: Re: [xsl] File management via XSLT > Nicola Martella wrote: > > I'm using <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">. > Everybody uses this in the style sheet. The interesting point is: what > XSLT processor are you using? In case you don't know what an XSLT > processor is: do you run the transformation in IEx? > > Command line processors generally allow you to write the transformation > result directly to a file. The details are processor specific, check > the relevant documentation (often "running" or "invoking"). > If you use MSXML from within IEx, get the MSXML command line tools, > which also allow you to write directly to a file. > > If you want to create multiple output files for a transformation, you > have to use a processor specific extension, as Jarno already told you. > > J.Pietschmann > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Generating a namespace de, Dimitre Novatchev | Thread | [xsl] Selecting only one element us, JCS |
[xsl] Re: Generating a namespace de, Dimitre Novatchev | Date | [xsl] Selecting only one element us, JCS |
Month |