My experiments succeded, so that from one script I can import others. This means I can linenmber and syntax highlight with Prism. The built in through Saxon transform never worked. So I returned to xsltproc which is also way faster.
I got a couple of nice customizations in place to support Prism.js
One peculiar caveat though, type=module does NOT work with xhtml, only with html. My webdev eyes get sore from seeing the html output. Not pretty, but it works.
/Niels
Greetings
Niels Müller Larsen
Programmer/Teacher
> On 20 Apr 2020, at 03.33, Bob Stayton <
bobs@sagehill.net> wrote:
>
> ?
> Hi Niels,
>
> I'm not sure I understand if this is working for you. Multiple scripts are allowed as a space-separated value to the stylesheet parameter html.script, and they each generate a