newtfire / locke-anthology

a repo for a TEI XML project collaboration on Alaine Locke's New Negro Anthology with Prof. Bart Brinkman's Harlem Renaissance class at Framingham State University
GNU Affero General Public License v3.0
2 stars 0 forks source link

Identity Transformation of Enjambment #10

Open ebeshero opened 2 years ago

ebeshero commented 2 years ago

A. Where a <l>...</l> element contains a `descendant::rs[@type='enjambment']

  1. make a template that matches on l[.//rs[@type='enjambment'] and add the @enjamb='y' to the l element: <l enjamb="yes">

  2. make a template that matches on rs[@type='enjambment'] and just use <xsl:apply-templates/> inside to lose that markup.

B. Let's get remove the <rs type="endstop"> markup because the default will be that these lines LACK enjambment and therefore do not require markup.