xslt-util

XSLT Functions for Transpect

Repository
Git URL https://github.com/transpect/xslt-util.git
SVN URL https://github.com/transpect/xslt-util
Base URI http://transpect.io/xslt-util/

Source ⬇

tr:normalize-calstables

Rowspans and Colspans are dissolved and filled with empty cells. This facilitates the conversion of CALS tables to LaTeX tabular tables. The graphic below gives an example:

------------------- ------------------- | A | B | | A | B | b | - - - ------------------- | | | --> | a | b | b | ------------------- ------------------- | C | D | | C | D | d | ------------------- -------------------

Import

<p:import href="http://transpect.io/xslt-util/calstable/xpl/normalize.xpl"/>

Synopsis

<tr:normalize-calstables xmlns:tr="http://transpect.io">
  <p:input port="source"/>
  <p:output port="result"/>
</tr:normalize-calstables>

tr:resolve-nested-calstables

Import

<p:import href="http://transpect.io/xslt-util/calstable/xpl/resolve-nested-tables.xpl"/>

Synopsis

<tr:resolve-nested-calstables xmlns:tr="http://transpect.io">
  <p:input port="source"/>
  <p:output port="result"/>
</tr:resolve-nested-calstables>

tr:undo-format-indent

Import

<p:import href="http://transpect.io/xslt-util/format-indent/xpl/undo-format-indent.xpl"/>

Dependencies

Synopsis

<tr:undo-format-indent xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:output port="result"/>
  <p:option name="schema-uris"/>
</tr:undo-format-indent>

GitHub sync date: 2026-10-19+02:00