transpect:validate-with-schematron (in library validate-with-schematron.xpl) validate-with-schematron
Visualisation
The pre-creation of this SVG image needs the Graphviz software installed. Please inform your project maintainer.
Input Ports
Name | Documentation | Connections |
---|---|---|
sourceⓅⓈ | If multiple source documents are given, a report will be created for every document. This report will be inserted into the single-root document on the report port. | |
html-inⓈ | One or zero documents. If zero, no attempt is made to patch the results into the HTML | |
parametersⓅ |
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅⓈ | ||
reportⓈ | ||
htmlreportⓈ | ||
svrlⓈ |
Options
Name | Documentation | Default |
---|---|---|
debug | 'no' | |
debug-dir-uri | ||
phase | '#ALL' | |
active | 'true' | |
schematron-rule-msg | Prints a status message with the Id of the currently fired schematron report or assert. | 'no' |
Subpipeline
Step | Inputs | Outputs | Options | ||||
---|---|---|---|---|---|---|---|
p:variable status-dir-uri | concat($debug-dir-uri, '/status') | ||||||
p:choose actually-do-something | |||||||
$active = ('true', 'yes') | |||||||
p:parameters consolidate-params |
| result | |||||
p:string-replace replace-schematron-family-name-in-start-msg |
| result | match = 'c:family' replace = concat('''', /c:param-set/c:param[@name eq 'family']/@value, '''') | ||||
letex:simple-progress-msg start-msg | result | file = concat('validate-with-schematron_', /c:param-set/c:param[@name eq 'family']/@value,'_start.txt') status-dir-uri = $status-dir-uri | |||||
p:sink d314e141 | |||||||
transpect:assemble-schematron assemble-schematron |
| debug = $debug debug-dir-uri = $debug-dir-uri schematron-rule-msg = $schematron-rule-msg | |||||
p:sink d314e157 |
| ||||||
p:choose validate-if-assembled-has-pattern | |||||||
//s:pattern | |||||||
transpect:validate-with-schematron2 pattern-in-assembled |
| result | debug = $debug debug-dir-uri = $debug-dir-uri phase = $phase | ||||
p:otherwise | |||||||
p:identity id |
| result | |||||
p:string-replace replace-schematron-family-name-in-success-msg |
| result | match = 'c:family' replace = concat('''', /c:param-set/c:param[@name eq 'family']/@value, '''') | ||||
letex:simple-progress-msg success-msg | result | file = concat('validate-with-schematron_', /c:param-set/c:param[@name eq 'family']/@value,'_success.txt') status-dir-uri = $status-dir-uri | |||||
p:sink d314e270 |
| ||||||
p:otherwise | |||||||
p:identity id |
| result |