Skip to content
Snippets Groups Projects
Commit f7e362af authored by Thorsten Vitt's avatar Thorsten Vitt
Browse files

documented stylesheet endpoints

parent b77e36c4
No related branches found
No related tags found
No related merge requests found
...@@ -60,4 +60,15 @@ Up-to-date help ...@@ -60,4 +60,15 @@ Up-to-date help
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment