schematron

alternative validate-with-schematron XProc step that uses oXygen’s abstract pattern/rule expansion

Repository
Git URL https://github.com/transpect/schematron.git
SVN URL https://github.com/transpect/schematron
Base URI http://transpect.io/schematron/

Source ⬇

tr:oxy-validate-with-schematron

A Schematron validation step that uses oXygen’s abstract expansion XSL by default.

The reason for selecting oXygen’s implementation is that it expands placeholders in (sch:report | sch:assert)/@role.

It isn’t fully featured yet. For example, assert-valid doesn’t have an effect.

Import

<p:import href="http://transpect.io/schematron/xpl/oxy-schematron.xpl"/>

Synopsis

<tr:oxy-validate-with-schematron xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:input port="schema"/>
  <p:input port="parameters" primary="true"/>
  <p:input port="abstract-expansion-xsl"/>
  <p:input port="sch2xsl"/>
  <p:output port="result" primary="true"/>
  <p:output port="report"/>
  <p:option name="family" select="'unspecified'"/>
  <p:option name="step-name" select="''"/>
  <p:option name="assert-valid" select="'false'"/>
  <p:option name="phase" select="'#ALL'"/>
</tr:oxy-validate-with-schematron>

GitHub sync date: 2024-04-23+02:00