I'd like to set a global Schematron sch:let-variable in an embedded Relax NG-Schema.
Since this isn't supported by the standard-implementation, I've tried follow the steps in https://www.oxygenxml.com/forum/post33302.html and to alter the RNG2Schtrn.xsl and add
Code: Select all
<sch:schema>
[...]
<xsl:for-each select="$schemas/sch:let">
<xsl:copy-of select="."/>
</xsl:for-each>
[...]
</sch:schema>
Unfortunatly it didn't work out.
Any suggetions how I could make this work?
Thanks and regards,
Andreas