On 10/04/2026 13:56, Roger L Costello costello@xxxxxxxxx wrote:
...
I learned that this was the *complete environment* I needed to run my
XSLT program:
* Java 17 runtime (OpenJDK Temurin-17.0.18+8)
It's not clear whether you did this already, but you can reduce the size
of your Docker image by using 'jlink' [1] to roll your own smaller JRE
in a multi-stage container build [2] so you use fewer resources and/or
can run more transformations at once.
...
* the command used to run the transformation
java -cp "saxon-he-12.9.jar;lib/*" net.sf.saxon.Transform -
s:Books.xml -xsl:Books-Summary.xsl -o:Books-Summary.xml
It's also not clear how you get 'Books-Summary.xml' out of the Docker
container, nor how you'd run the stylesheet with different input XML.
Presumably the guide will cover how to mount local files and
directories so you can vary the input and output.
Regards,
Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
tgraham@xxxxxxxxxxxxx
[1] https://www.baeldung.com/jlink
[2]
https://github.com/docker-library/docs/blob/master/eclipse-temurin/README.md#creating-a-jre-using-jlink
|