transpect:paths paths
pubcoach/xpl/paths.xpl
Import URI: http://transpect.le-tex.de/book-conversion/converter/xpl/paths.xpl
Visualisation
The pre-creation of this SVG image needs the Graphviz software installed. Please inform your project maintainer.
Input Ports
Name | Documentation | Connections |
---|---|---|
conf | ||
stylesheetⓅ | The default path calculation stylesheet. Most probably you will want to define your own stylesheet for your project. This stylesheet will most probably import the default stylesheet. |
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅ | ||
report |
Options
Name | Documentation | Default |
---|---|---|
debug | 'no' | |
debug-dir-uri | resolve-uri('debug') | |
interface-language | 'en' | |
clades | '' | |
file | ||
pipeline | 'unknown' | |
progress | Whether to display progress information as text files in a certain directory | 'no' |
progress-to-stdout | Whether to write progress information to console | 'no' |
determine-transpect-project-version | Whether an attempt should be made (currently by running svn info --xml ) to determine the svn revision of the transpect project. | 'no' |
Subpipeline
Step | Inputs | Outputs | Options | |||
---|---|---|---|---|---|---|
p:variable status-dir-uri | concat($debug-dir-uri, '/status') | |||||
p:group try | ||||||
p:choose svn-info | ||||||
$determine-transpect-project-version = 'yes' | ||||||
p:exec d120e68 |
| result | command = 'env' args = 'svn info --xml' | |||
p:filter d120e76 | result | select = '/c:result/info' | ||||
p:otherwise | ||||||
p:identity d120e83 |
| result | ||||
transpect:file-uri file-uri |
| result | filename = $file | |||
p:sink d120e101 | ||||||
p:xslt xslt The stylesheet provides one essential customization point: transpect:parse-file-name() that accepts a file uri, typically with an extension and a directory path. It may then analyze this filename, potentially after applying transpect:basename() in order to strip paths and the extension. The function produces a sequence of attributes whose names should correspond to clade roles and whose values should correspond to clade names. Another cutomization point is the template named 'main-file-xml'. The stylesheet parameter 'filenames' (xs:string)
will be split at whitespace. It is supposed to output a | result | |||||
p:for-each d120e163 | ||||||
letex:store-debug d120e170 | result | pipeline-step = replace(base-uri(), '^.+/(paths/.+)\.xml$', '$1') active = $debug base-uri = $debug-dir-uri | ||||
p:sink d120e180 |
| |||||
letex:store-debug d120e182 |
| result | pipeline-step = 'paths' active = $debug base-uri = $debug-dir-uri | |||
p:sink d120e188 |