docx2jats Ⓐ docx2epub
a9s/common/xpl/docx2jats.xpl
Import URI: http://this.transpect.io/a9s/common/xpl/docx2jats.xpl
Input Ports
Name | Documentation | Connections |
---|---|---|
conf |
|
Output Ports
Name | Documentation | Connections |
---|---|---|
resultⓅ | JATS | |
htmlreportⓈ |
Options
Name | Documentation | Default |
---|---|---|
fileⓇ | ||
clades | '' | |
debug | 'yes' | |
debug-dir-uri | 'debug' | |
status-dir-uri | 'status' |
Subpipeline
Step | Inputs | Outputs | Options |
---|---|---|---|
p:load d9e69 | result | href = /tr:conf/@paths-xsl-uri | |
tr:paths paths | result | pipeline = 'docx2jats.xpl' clades = $clades file = $file debug = $debug debug-dir-uri = $debug-dir-uri status-dir-uri = $status-dir-uri | |
p:sink d9e96 | |||
docx2hub:convert docx2hub |
| result | srcpaths = 'yes' unwrap-tooltip-links = 'yes' debug = $debug debug-dir-uri = $debug-dir-uri status-dir-uri = $status-dir-uri docx = $file |
css:map-styles map-styles | result | map-name = concat('styles/map-', /c:param-set/c:param[@name eq 'ext']/@value, '.xhtml') debug = $debug debug-dir-uri = $debug-dir-uri status-dir-uri = $status-dir-uri | |
tr:check-styles check-styles | result | debug = $debug debug-dir-uri = $debug-dir-uri cssa = 'styles/cssa.xml' differentiate-by-style = 'true' status-dir-uri = $status-dir-uri | |
tr:validate-with-schematron sch_flat | result | debug = $debug debug-dir-uri = $debug-dir-uri | |
hub:evolve-hub evolve-hub-dyn | result | srcpaths = 'yes' load = 'evolve-hub/driver' debug = $debug debug-dir-uri = $debug-dir-uri status-dir-uri = $status-dir-uri | |
tr:validate-with-schematron sch_evolve | result | debug = $debug debug-dir-uri = $debug-dir-uri | |
jats:hub2bits hub2jats | result | load = 'hub2jats/hub2jats-driver' fallback-xsl = 'http://transpect.io/hub2bits/xsl/hub2jats-fallback.xsl' debug = $debug debug-dir-uri = $debug-dir-uri status-dir-uri = $status-dir-uri | |
tr:validate-with-schematron sch_jats | result | debug = $debug debug-dir-uri = $debug-dir-uri | |
| result | debug = $debug debug-dir-uri = $debug-dir-uri | |
jats:html jats2html | result | css-location = '' debug = $debug debug-dir-uri = $debug-dir-uri status-dir-uri = $status-dir-uri | |
p:add-xml-base add-xml-base | result | ||
p:add-attribute html-add-xml-base |
| result | attribute-name = 'xml:base' match = '/*' attribute-value = replace(/*/@xml:base, '[.\p{L}]+$', '.xhtml') |
tr:store-debug d9e306 |
| result | pipeline-step = 'html-base' active = $debug base-uri = $debug-dir-uri |
p:sink d9e314 | |||
tr:load-cascaded d9e316 | result | filename = 'epubtools/epub-config.xml' debug = $debug debug-dir-uri = $debug-dir-uri | |
p:string-replace epub-conf | result | match = '/epub-config/metadata/dc:identifier[1]/text()' replace = concat('''', /c:param-set/c:param[@name = 'basename']/@value, '''') | |
p:sink d9e336 | |||
epub:convert epub-convert |
| result | clean-target-dir = 'yes' terminate-on-error = 'no' debug = $debug debug-dir-uri = $debug-dir-uri |
tr:epubcheck-idpf epubcheck | result | epubfile-path = /*/@os-path svrl-srcpath = 'BC_orphans' debug = $debug debug-dir-uri = $debug-dir-uri | |
p:sink d9e372 | |||
p:delete html-remove-srcpath |
| result | match = '@srcpath' |
tr:remove-ns-decl-and-xml-base html-remove-ns |
| result | |
p:sink d9e384 |
| ||
tr:remove-ns-decl-and-xml-base jats-remove-ns | result | ||
p:delete jats-remove-srcpath |
| result | match = '@srcpath | /*/@source-dir-uri' |
p:sink d9e397 |
| ||
tr:patch-svrl patch | result | debug = $debug debug-dir-uri = $debug-dir-uri status-dir-uri = $status-dir-uri | |
p:delete htmlreport-remove-srcpath | result | match = '@srcpath' | |
tr:remove-ns-decl-and-xml-base htmlreport-remove-ns |
| result |