Skip to content

Instantly share code, notes, and snippets.

@dmj
Last active March 2, 2021 18:48
Show Gist options
  • Save dmj/589a5c5c7fb0908c6653839a6e211e23 to your computer and use it in GitHub Desktop.
Save dmj/589a5c5c7fb0908c6653839a6e211e23 to your computer and use it in GitHub Desktop.
Recursive sch:include
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron" abstract="true">
<sch:assert test="false()"/>
</sch:rule>
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron" context="*">
<sch:extends href="abstract-rule.sch"/>
</sch:rule>
<sch:rule xmlns:sch="http://purl.oclc.org/dsdl/schematron" context="*">
<sch:assert test="false()"/>
</sch:rule>
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<sch:include href="pattern.sch"/>
</sch:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment