Dockerized Saxon-HE (XSLT 3.0 processor)
docker run --rm -v "$PWD/xml/source.xml":"/xml/source.xml" -v "$PWD/xsl/stylesheet.xsl":"/xsl/stylesheet.xsl" atomgraph/saxon -s:/xml/source.xml -xsl:/xsl/stylesheet.xsl param=value
Note that we use $PWD
in order to make host filepath absolute, as required by Docker's -v
(volume) option.