epubcheck-idpf
XProc wrapper for IDPF's epubcheck
Repository
Git URL | https://github.com/transpect/epubcheck-idpf.git |
SVN URL | https://github.com/transpect/epubcheck-idpf |
Base URI | http://transpect.io/epubcheck-idpf/ |
tr:epubcheck-command-line
Import
<p:import href="http://transpect.io/epubcheck-idpf/xpl/epubcheck-command-line.xpl"/>
Dependencies
Synopsis
<tr:epubcheck-command-line xmlns:tr="http://transpect.io">
<p:output port="result"/>
<p:option name="epubcheck-path" select="'../5.1.0/bin/epubcheck.jar'"/>
<p:option name="epubfile-path"/>
<p:option name="fallback-version" select="'4.2.6'"/>
<p:option name="svrl-srcpath" select="'BC_Orphans'"/>
<p:option name="debug" select="'no'"/>
<p:option name="debug-dir-uri" select="'debug'"/>
<p:option name="locale" select="' --locale en '"/>
</tr:epubcheck-command-line>
tr:epubcheck-idpf
An implementation of epubcheck to provide it's results as Schematron SVRL.
Provide the path to the EPUB file with the option epubfile-path
.
You can choose between invoking epubcheck with command line or as calabash
extension (preferred). If you want to use the calabash extension of epubcheck, you
have
to checkout https://github.com/transpect/epubcheck-extension/trunk
to
calabash/extensions/transpect/epubcheck-extension and set the parameter interface
to the value extension
.
Import
<p:import href="http://transpect.io/epubcheck-idpf/xpl/epubcheck.xpl"/>
Dependencies
Synopsis
<tr:epubcheck-idpf xmlns:tr="http://transpect.io">
<p:output port="result" primary="true"/>
<p:option name="epubfile-path" required="true"/>
<p:option name="epubcheck-version" required="false" select="'5.1.0'"/>
<p:option name="svrl-srcpath" select="'BC_orphans'"/>
<p:option name="interface" select="'commandline'"/>
<p:option name="debug" select="'yes'"/>
<p:option name="debug-dir-uri" select="'debug'"/>
<p:option name="status-dir-uri" select="concat( resolve-uri( $debug-dir-uri ), '/status' )"/>
<p:option name="lang" select="'en'"/>
</tr:epubcheck-idpf>
GitHub sync date: 2024-04-23+02:00