1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-16 18:23:16 +00:00

Expand Saxon extension functions

This commit is contained in:
2025-07-27 16:54:01 +02:00
parent 31fe6efae5
commit d76c80011c
3 changed files with 404 additions and 1 deletions
+7
View File
@@ -67,6 +67,13 @@ By default it listens on port `8000` as configured in `backend/app.config`.
The same file sets `saxon_classpath` so the Java process can load Saxon and
its dependencies from `/opt/saxon/*`.
The backend image also builds a small jar with custom Saxon extension
functions. It gets copied to `/opt/saxon/custom-functions.jar` during the
Docker build. You can call these from XSLT using the namespace
`xmlns:tib="java:com.xsltplayground.ext.CustomFunctions"`. The jar exposes
many helper functions such as `tib:uuid()`, `tib:timestamp()` and
`tib:addToDate()`.
### Environment
When `VITE_GO_PRO=true` the backend stores transformation history and