Is there a way using XSLT Packages in Schematron
Posted: Fri Mar 08, 2024 2:06 pm
Hi,
I'm working more and more with XSLT packages. Now I have a first case where I would like to reuse one in a Schematron schema.
Is there a way to do this? In Schematron it would look like this:
A standard Schematron implementation should be able to handle this. As far as I can see the only thing to do for the environment would be to enable a custom Saxon config for Schematron validations or a custom Saxon initializer class to provide the package resources. I haven't found a way to do this in Oxygen 26. Have I missed something?
Best Regards,
Nico
I'm working more and more with XSLT packages. Now I have a first case where I would like to reuse one in a Schematron schema.
Is there a way to do this? In Schematron it would look like this:
Code: Select all
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron"
xmlns:sqf="http://www.schematron-quickfix.com/validator/process"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
queryBinding="xslt3">
<xsl:use-package package-version="*" name="http://www.nkutsche.com/my-special-xslt-module"/>
Best Regards,
Nico