Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

XSLT Processors

Debian has a decent collection of XSLT processors:

lib-xt-java: Works well. Style sheet parameter is handled effortlessly.

  $ java com.jclark.xsl.sax.Driver <XML file> <XSL file> [id=wgi001]

sablotron: Works well but my sample genealogy style sheet with a parameter cause sablotron to find an error! (Perhaps it is stricter with XSL or else it does not implement some feature—not yet explored.)

  $ sabcmd <XSL file> <XML file> [\$id=wgi001]

transformiix: Produces slightly different output to all the rest. Does not seem to allow assignment to parameters.

  $ transfrmx -s <XSL file> -i <XML file>

xalan: Works well but could not get it to take the parameter?

  $ xalan -xsl <XSL file> -in <XML file> -param id wgi001

xsltproc works well. xsltproc:

  $ xsltproc --stringparam id wgi001 <XSL file> <XML file>


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.