transpect:errorPI2svrl errorPI2svrl

pubcoach/xpl/errorPI2svrl.xpl

Import URI: http://transpect.le-tex.de/book-conversion/converter/xpl/errorPI2svrl.xpl

Visualisation

The pre-creation of this SVG image needs the Graphviz software installed. Please inform your project maintainer.

Output Ports

NameDocumentationConnections

result

report

The errors that were encoded as PIs, now as SVRL documents.

They may carry a @transpect:rule-family attribute on the top-level element. It could be 'w2d' in the example above. The XSLT, ../xsl/errorPI2svrl.xsl, has to take care of proper result document generation for each of these virtual checking families.

The errors that were encoded as PIs, now as SVRL documents.They may carry a @transpect:rule-family attribute on the top-level element. It could be 'w2d' in the example above. The XSLT, ../xsl/errorPI2svrl.xsl, has to take care of proper result document generation for each of these virtual checking families.

Options

NameDocumentationDefault

debug

'no'

debug-dir-uri

pi-names

Space-separated names of processing instructions in the source document that carry error messages.

The PI text may convey additional error classification information. Example: <?letex w2d-101 This is some error message.?>

'letex'

severity

message | warning | error | fatal-error

'warning'

Subpipeline

StepInputsOutputsOptions

p:variable status-dir-uri

concat($debug-dir-uri, '/status')

letex:simple-progress-msg start-msg

source

source on errorPI2svrl

msgs

 <c:messages>
   <c:message xml:lang="en">Creating SVRL documents from error/warning processing instructions</c:message>
   <c:message xml:lang="de">Wandle als Processing Instruction kodierte Warnungen und Fehler in SVRL-Reports um</c:message>
 </c:messages>

result

file = 'error-pi2svrl-start.txt'

status-dir-uri = $status-dir-uri

p:sink d379e50

source

result on start-msg

p:xslt create-svrls

source

source on errorPI2svrl

stylesheet

p:document../xsl/errorPI2svrl.xsl

parameters

p:empty

result

p:sink d379e70

source

result on create-svrls

p:for-each d379e71

secondary on create-svrls

letex:store-debug d379e78

source

current on d379e71

result

pipeline-step = concat('schematron/pi2svrl/', replace(base-uri(), '^(.+/)(.+).xml', '$2'))

active = $debug

base-uri = $debug-dir-uri

p:sink d379e87

source

result on d379e78

letex:simple-progress-msg success-msg

source
msgs

 <c:messages>
   <c:message xml:lang="en">Successfully created SVRL documents from error/warning processing instructions</c:message>
   <c:message xml:lang="de">Umwandlung der als Processing Instruction kodierten Warnungen und Fehler in SVRL-Reports erfolgreich abgeschlossen</c:message>
 </c:messages>

result

file = 'error-pi2svrl-success.txt'

status-dir-uri = $status-dir-uri

p:sink d379e108

source

result on success-msg