-
Notifications
You must be signed in to change notification settings - Fork 38
EpiDoc XSLT
EFES uses the XSLT from the EpiDoc Stylesheets repository/project. The provided rendering (defined in sitemaps/main.xmap#local-epidoc-display-html
) is dependent on variables set in sitemaps/config.xmap
.
As per the general Kiln approach, customisation of the EpiDoc XSLT should happen in stylesheets/epidoc/
rather than kiln/stylesheets/epidoc/
, with overriding and extra templates either in start-edition.xsl
or files imported from it.
In cases where multiple renderings of an EpiDoc document, using different parameters, are required, use sitemaps/internal.xmap#local-epidoc-custom-html
. This takes query string parameters and merges them over the top of the values in config.map
and renders an EpiDoc document according to the results of that merge. It is written to be used internally by Cocoon; if such functionality is desired to be put into the hands of visitors to an EFES site, the contents of that map:match
should be moved into main.xmap#local-epidoc-display-html
.