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>
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0