forked from kcl-ddh/kiln
-
Notifications
You must be signed in to change notification settings - Fork 38
Configuring EpiDoc XML display
Irene Vagionakis edited this page Feb 24, 2023
·
4 revisions
EFES uses the Epidoc example XSLT for HTML display. The parameters are customized in the config.xmap sitemap that lives in webapps/ROOT/sitemaps. This is done by changing the content of the epidoc-related global variables (c. line 127 in the file):
<epidoc-edition-type>interpretive</epidoc-edition-type>
<epidoc-edn-structure>iospe</epidoc-edn-structure>
<epidoc-external-app-style>iospe</epidoc-external-app-style>
<epidoc-image-loc>/images/</epidoc-image-loc>
<epidoc-internal-app-style>none</epidoc-internal-app-style>
<epidoc-leiden-style>panciera</epidoc-leiden-style>
<epidoc-line-inc>5</epidoc-line-inc>
<epidoc-verse-lines>off</epidoc-verse-lines>
A list of all possible values can be found in webapps/ROOT/kiln/stylesheets/epidoc/README.txt.
More extensive customisation of EpiDoc XSLT can be done by adding XSLT code to webapps/ROOT/stylesheets/epidoc/start-edition.xsl that overrides or extends the XSLT templates in webapps/ROOT/kiln/stylesheets/epidoc.
The <epidoc-edition-type>
parameter is currently overridden by what is specified in the edition structure template.