Are there any XSLT processing command line tools? [closed]

Solution 1:

If you are looking for an XSLT processor you can use Saxon: http://saxon.sourceforge.net/

You can see the command line options here: http://saxon.sourceforge.net/saxon6.5.1/using-xsl.html

Solution 2:

Microsoft has a simple command line tool that wraps their XML Parser - http://www.microsoft.com/en-us/download/details.aspx?id=21714.

As @Mathias said though, it only supports XSL 1.0 while Saxon supports XSL 2.0.

To run the convertor you downloaded from the given URL run this command

msxsl.exe backEnd.xml inspectcode.xslt -o backEnd.html

This will tranform the xml file using the xslt file into the output file in html format

Solution 3:

You can use AltovaXML XSLT 1.0/2.0 engine (also well-formedness and validity checking). There is free of charge community edition with direct (I mean without Java) command line interface e.g.:

AltovaXML.exe -xslt2 stylesheet.xsl -in input.xml -out output.xml

Check AltovaXML.chm help file for usage.

Solution 4:

# xsltproc [options] stylesheet file

This program is the simplest way to use libxslt. http://xmlsoft.org/XSLT/xsltproc2.html

Solution 5:

ftp://xmlsoft.org/libxml2/

The Win32 directory has a lot of goodies, next to precompiled binaries for use on commandline.

I'm not linking to the directory directly, since the root of the project has a rich set of tools for - good for everyone's flavor of the month :)