tr:validate-with-schematron2 (in library validate-with-schematron.xpl) validate-with-schematron2
Input Ports
Name | Documentation | Connections |
---|---|---|
sourceⓅⓈ | ||
html-inⓈ | ||
schema | ||
parametersⓅ |
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅⓈ | ||
reportⓈ | ||
htmlreportⓈ |
Options
Name | Documentation | Default |
---|---|---|
debug | 'no' | |
debug-dir-uri | ||
status-dir-uri | ||
phase | '#ALL' |
Subpipeline
Step | Inputs | Outputs | Options | |
---|---|---|---|---|
p:parameters consolidate-params |
| result | ||
p:for-each validate-loop | ||||
| result | assert-valid = 'false' phase = $phase | ||
p:sink d158e383 | ||||
p:add-attribute d158e385 | result | match = '/*' attribute-name = 'tr:step-name' attribute-value = /c:param-set/c:param[@name eq 'step-name']/@value | ||
p:add-attribute add-family-attribute | result | match = '/*' attribute-name = 'tr:rule-family' attribute-value = /c:param-set/c:param[@name eq 'family']/@value | ||
tr:store-debug d158e407 |
| result | extension = 'svrl.xml' pipeline-step = concat('schematron/', /c:param-set/c:param[@name = 'basename']/@value, '.', /c:param-set/c:param[@name = 'family']/@value) active = $debug base-uri = $debug-dir-uri | |
p:sink d158e419 | ||||
p:sink d158e422 |
| |||
p:for-each conditionally-patch-html | This is no actual loop. It is just for patching the HTML input if there is an HTML document on the html-in port, and to do nothing if there isn't. | |||
p:sink d158e439 |
| |||
tr:patch-svrl patch |
| result | debug = $debug debug-dir-uri = $debug-dir-uri | |
p:sink d158e464 |
|