Hi Andrew,

You may want to take a look at the "DDBDP-style" apparatus in the EpiDoc stylesheets, which does some of this for HTML title attributes on the HTML apparatus output, meaning you get the "human readable" apparatus as a mouseover on the apparatus entry when you hover over it (see If you take a look at;1;5 (scroll down to the bottom for the apparatus), you'll see this in action. The XSLT itself is rather complex and it may well be possible to do it better, but it might give you some ideas in any case.

All the best,

On Thu, Nov 19, 2015 at 5:42 PM, Andrew Dunning <[log in to unmask]> wrote:
Dear list,

Has anyone out there written the XSLT necessary to convert TEI <subst> and <choice> structures into human-readable footnotes? It would be great, for example, to take something like this:

t<choice><del>ool</del><add place=“above”>ext</add></choice>s

Then render ‘texts’ in the body, with a footnote reading something to the effect of ‘texts _added above the line_; tools _before correction_’.

All best,

Andrew Dunning
PhD Candidate
Centre for Medieval Studies
University of Toronto