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>

GitHub sync date: 2024-04-23+02:00