tr:simple-progress-msg (in library simple-progress-msg.xpl) progress-msg
tr:simple-progress-msg
Description
This step stores status messages as plain text files and prints them to the standard output. The step can be used everywhere in your pipeline. The input will be simply forwarded to the output without any transformations.
Usage
The input port entitled "msgs" expects a c:message
XML document. The status messages must be wrapped in c:message
elements.
For localized messages, you can use multiple c:message
elements each including a xml:lang
attribute. The attribute value must
be a language code according to ISO 639-1.
Example
<tr:simple-progress-msg file="trdemo-paths.txt">
<p:input port="msgs">
<p:inline>
<c:messages>
<c:message xml:lang="en">Generating File Paths</c:message>
<c:message xml:lang="de">Generiere Dateisystempfade</c:message>
</c:messages>
</p:inline>
</p:input>
<p:with-option name="status-dir-uri" select="$status-dir-uri"/>
</tr:simple-progress-msg>
Input Ports
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅⓈ | Output port:
|
Options
Name | Documentation | Default |
---|---|---|
file | Option:
| |
status-dir-uri | Option:
| 'status' |
Subpipeline
Step | Inputs | Outputs | Options |
---|---|---|---|
p:variable lang | replace(p:system-property('p:language'), '[-].+$', '') | ||
p:xslt d67e135 |
| result | |
p:store d67e174 | result | method = 'text' href = concat($status-dir-uri, '/', concat(p:system-property('p:episode'), '_', $file)) |