|
Subject: Re: [xsl] How to run an XSLT program anywhere using Docker (step-by-step guide) From: "Tony Graham tgraham@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 10 Apr 2026 14:34:25 -0000 |
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.
Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham@xxxxxxxxxxxxx
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Aw: [xsl] How to run an XSLT progra, Martin Honnen martin | Thread | [xsl] How to create an XML/XSLT web, Roger L Costello cos |
| Aw: [xsl] How to run an XSLT progra, Martin Honnen martin | Date | [xsl] How to create an XML/XSLT web, Roger L Costello cos |
| Month |