At <https://textgridlab.org/1.0/aggregator/help> you can find a short up-to-date API overview that is generated from the code that is actually deployed, refer to this to see which options are actually available on the deployed version. You can also have a look at the WADL (from which the help is generated) at <https://textgridlab.org/1.0/aggregator?_wadl>.
At <https://textgridlab.org/1.0/aggregator/help> you can find a short up-to-date API overview that is generated from the code that is actually deployed, refer to this to see which options are actually available on the deployed version. You can also have a look at the WADL (from which the help is generated) at <https://textgridlab.org/1.0/aggregator?_wadl>.
XSLT Stylesheets
================
Starting with version 1.4.6, the aggregator also exposes the XSLT stylesheets that
are used internally. You can use these using an external XSLT processor – e.g., using the TextGridLab XML editor's `Preview Page <https://dev2.dariah.eu/wiki/display/TextGrid/Preview>`_.
Here are probably the most interesting endpoints:
* `stylesheets/preview.xsl` creates a simulated view of the display on TextGridRep, like the ``?simulate=true`` option to the HTML converter.
* `stylesheets/tohtml.xsl` creates the HTML representation as generated by the HTML exporter.
All stylesheets require an XSLT 2.0 processor, and of course they don't run down aggregation trees but expect a TEI document as input.