transpect:check-styles check-styles
pubcoach/xpl/check-styles.xpl
Import URI: http://transpect.le-tex.de/book-conversion/converter/xpl/check-styles.xpl
Visualisation
The pre-creation of this SVG image needs the Graphviz software installed. Please inform your project maintainer.
Input Ports
Name | Documentation | Connections |
---|---|---|
sourceⓅ | ||
html-in | ||
parametersⓅ |
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅ | ||
doc-and-template-styles | ||
reportⓈ | ||
htmlreportⓈ | Please note that the HTML report will not reflect the differentiated styles. It will only do so if the report is rendered by a subsequent step. This is because the svrl in the output will be patched after the transpect:validate-with-schematron step. | Please note that the HTML report will not reflect the differentiated styles. It will only do so if the report is rendered by a subsequent step. This is because the svrl in the output will be patched after the transpect:validate-with-schematron step. |
Options
Name | Documentation | Default |
---|---|---|
debug | 'no' | |
debug-dir-uri | ||
active | 'true' | |
differentiate-by-style | This option will create a distinct error class for each missing style name. In order to use this option, you need to create a <span class="style-name"> in your schematron rule in your adaption’s styles.sch.xml, like this:
| 'false' |
Subpipeline
Step | Inputs | Outputs | Options | ||
---|---|---|---|---|---|
p:variable status-dir-uri | concat($debug-dir-uri, '/status') | ||||
letex:simple-progress-msg start-msg |
| result | file = 'check-styles-start.txt' status-dir-uri = $status-dir-uri | ||
transpect:load-cascaded template-styles |
| result | filename = 'styles/cssa.xml' debug = $debug debug-dir-uri = $debug-dir-uri | ||
p:wrap-sequence doc-and-template-styles |
| result | wrapper = 'transpect:doc-and-template-styles' | ||
| result | active = $active debug = $debug debug-dir-uri = $debug-dir-uri | |||
p:sink d307e115 | |||||
p:split-sequence d307e117 transpect:validate-with-schematron may produce multiple reports. We know that we put in only one document, so we only select the first report. | matched | initial-only = 'true' test = 'true()' | |||
p:choose potentially-differentiate-by-style | |||||
$differentiate-by-style = 'true' | |||||
p:xslt add-style-names-to-error-codes |
| result | |||
p:otherwise | |||||
p:identity d307e162 | result | ||||
letex:simple-progress-msg success-msg |
| result | file = 'check-styles-success.txt' status-dir-uri = $status-dir-uri | ||
p:sink d307e184 |
|