xsl transform() calls and creating SEF files

Graydon Saunders <[email protected]> Tue, 6 Jul 2021 11:17:20 -0400
Newsgroups gmane.text.xml.saxon.help
Message-ID <CAO3ciQH_yPXM29kiDydfFh-ZvakFHQFcjzzbV_Ms4obaRDkJkA@mail.gmail.com>
Hello!

We generally don't want to make the application any more potentially
comprehensible to customers than the insides of a SEF file.  As a result,
I'm trying to package an application which both includes a bunch of XSLT
files and which calls various XSLT transforms via transform() using:

java -cp "$SAXON:$RESOLVER:$EXTENSIONS" net.sf.saxon.Transform \
    -xsl:"$MAIN" \
    -export:main.sef \
    -target:PE \
    -relocate:on \
    -nogo

If I try to run the resulting SEF file, it fails, because it can't find the
first of the XSLT transforms called via transform().  To the best of my
limited ability to tell, that's because that transform didn't make it into
the SEF file.

Is there a way to get the "create a SEF file" process to incorporate all
the XSLT transforms referenced by transform() into the SEF file?  Is there
some other way to get a monolithic deployable transform?

Thanks!
Graydon

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help