TEIC / Stylesheets

TEI XSL Stylesheets
231 stars 124 forks source link

Fix #516: duplication of ids in HTML transformation #517

Closed HelenaSabel closed 3 years ago

HelenaSabel commented 3 years ago

This PR tackles issue #516: In the transformation to HTML, the @xml:id of listBibl/bibl elements was being added twice: first in the <li> element and then in its <div> child.

My proposal is to just add a condition: If the child of listBibl being processed has already an @xml:id, do not call the makeAnchor template.

I am assigning as reviewers @ebeshero and @sydb because of your participation in the discussion of the original ticket.