jats2html

XProc library and XSLT stylesheets to convert JATS to HTML

Repository
Git URLhttps://github.com/transpect/jats2html.git
SVN URLhttps://github.com/transpect/jats2html
Base URIhttp://transpect.io/jats2html/

Source ⬇

jats:html

This step converts JATS or BITS to HTML. The step expects a transpect paths document as secondary input to dynamically load a matching XProc driver.

Import

<p:import href="http://transpect.io/jats2html/xpl/jats2html.xpl"/>

Dependencies

Synopsis

<jats:html xmlns:jats="http://jats.nlm.nih.gov">
  <p:input port="source" primary="true"/>
  <p:input port="paths" primary="true"/>
  <p:output port="result" primary="true"/>
  <p:output port="report" sequence="true"/>
  <p:option name="srcpaths" required="false" select="'no'"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="'debug'"/>
  <p:option name="status-dir-uri" required="false" select="'status'"/>
  <p:option name="css-location" required="false" select="'stylesheet.css'"/>
  <p:option name="fallback-xsl" select="'http://transpect.io/jats2html/xsl/jats2html.xsl'"/>
  <p:option name="fallback-xpl" select="'http://transpect.io/jats2html/xpl/jats2html_default.xpl'"/>
</jats:html>

tr:jats2html

This is the fallback pipeline when no other pipeline could be found while evaluating the transpect cascade configuration. The pipeline invokes three XSLT modes to convert JATS or BITS to HTML.

Import

<p:import href="http://transpect.io/jats2html/xpl/jats2html_default.xpl"/>

Dependencies

Synopsis

<tr:jats2html xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:input port="stylesheet" primary="false"/>
  <p:input port="parameters" primary="true"/>
  <p:output port="result" primary="true"/>
  <p:output port="report" sequence="true"/>
  <p:option name="debug" select="'no'"/>
  <p:option name="debug-dir-uri" select="'debug'"/>
</tr:jats2html>

GitHub sync date: 2021-07-05+02:00