mml-normalize
MathML normalization
Repository
| Git URL | https://github.com/transpect/mml-normalize.git |
| SVN URL | https://github.com/transpect/mml-normalize |
| Base URI | http://transpect.io/mml-normalize/ |
tr:mml-add-alttext
This step takes XML documents with MathML and adds to each MathML equation an alt text attribute.
Import
<p:import href="http://transpect.io/mml-normalize/xpl/mml-add-alttext.xpl"/>
Dependencies
Synopsis
<tr:mml-add-alttext xmlns:tr="http://transpect.io">
<p:input port="source"/>
<p:output port="result" primary="true"/>
<p:output port="processing-info" primary="false"/>
<p:option name="lang" select="'en'"/>
<p:option name="sre-path" select="'/home/wbdvadmin/node_modules/speech-rule-engine/bin/sre'"/>
<p:option name="insert-tr-processing-attr" select="'yes'"/>
</tr:mml-add-alttext>
tr:mml2mathmlcore
XProc step to convert any MathML formula to MathML-Core.
Import
<p:import href="http://transpect.io/mml-normalize/xpl/mml2mathmlcore.xpl"/>
Synopsis
<tr:mml2mathmlcore xmlns:tr="http://transpect.io">
<p:input port="source" primary="true"/>
<p:input port="stylesheet"/>
<p:output port="result" primary="true"/>
<p:option name="to-version" select="'4-core'"/>
<p:option name="from-version" select="'any'"/>
<p:option name="keep-mml-prefix" select="'any'"/>
</tr:mml2mathmlcore>
GitHub sync date: 2026-10-19+02:00