xsl-list
[Top] [All Lists]

RE: File management via XSLT

2003-11-30 23:13:29
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(_dot_)fuller(_at_)ruminate(_dot_)co(_dot_)uk] 
Sent: 29 November 2003 13:11
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Nicola Martella
Sent: Saturday, November 29, 2003 6:48 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com

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(_at_)yahoo(_dot_)de>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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



<Prev in Thread] Current Thread [Next in Thread>
  • RE: File management via XSLT, Kamau, Allan <=