Created on: July 18 2016
Author: mholmes
The purpose of this module is to process documents which make use of the
TEI attribute rendition/@selector. The content of this attribute is one or more
CSS selectors which select elements in the transcribed content of the document
to which the host rendition element should be applied. In this transformation,
a new temporary XSLT file is created for each document in the collection which
uses this attribute; the created XSLT can later be applied by the build process
to perform an identity transform which adds explicit instances of @rendition to
the target elements, replacing the use of @selector with a more easily-processable
link between the element and the rendition rules to be applied to it.
The main requirement here is to transform the CSS selector(s) in the
@selector attribute of the rendition element into XSLT @match attributes on
xsl:template elements.
Processing rendition/@selector attributes in documents...
Processing this subset of documents: