p:declare-step
and p:import
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteURI uriStartString="http://transpect.io/docx2tex/"
rewritePrefix="../"/>
<nextCatalog catalog="../docx2hub/xmlcatalog/catalog.xml"/>
<nextCatalog catalog="../xproc-util/xmlcatalog/catalog.xml"/>
<nextCatalog catalog="../xslt-util/xmlcatalog/catalog.xml"/>
<nextCatalog catalog="../evolve-hub/xmlcatalog/catalog.xml"/>
<nextCatalog catalog="../mml2tex/xmlcatalog/catalog.xml"/>
<nextCatalog catalog="../xml2tex/xmlcatalog/catalog.xml"/>
</catalog>
<p:import href="http://transpect.io/xml2tex/xpl/xml2tex.xpl"/>
<xml2tex:convert name="xml2tex">
<p:input port="conf">
<p:pipe port="result" step="load-config"/>
</p:input>
<p:with-option name="table-model" select="$table-model"/>
<p:with-option name="table-grid" select="$table-grid"/>
<p:with-option name="debug" select="$debug"/>
<p:with-option name="debug-dir-uri" select="$debug-dir-uri"/>
<p:with-option name="status-dir-uri" select="$status-dir-uri"/>
<p:with-option name="fail-on-error" select="$fail-on-error"/>
</xml2tex:convert>
We entitled it transpect and published it under a FreeBSD license.
Still just some guides and inline documentation existed, no standards.
more details here
SVN is our favorite version control system, but …
… we wanted to lower the barriers for external users to use our code, file bug reports, make pull requests etc.
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
<p:documentation xmlns="http://www.w3.org/1999/xhtml">
The documentation may include
<a href="https://en.wikipedia.org/wiki/HTML">HTML</a>
markup as well.
</p:documentation>
<p:input port="source">
<p:inline>
<doc>Hello world!</doc>
</p:inline>
</p:input>
<p:output port="result"/>
<p:identity/>
</p:declare-step>
p:http-request
and Calabash transparentJSON extension used to access the GitHub APIcommit HTML and XML (still manually) to update http://transpect.io