Menu

#156 Remove legacy Unicode display of glyphs from XSLT

9.6
accepted
xslt (13)
7
2023-06-15
2021-08-02
No

Now that we have a working template for displaying glyphs as either texts of symbols using the <glyph> and <charDecl> structure (in header or in authority list), as implemented in FR 81, I would like to see the Stylesheets tidied up so that all of the legacy templates in teig.xsl can be removed and replaced with a generic template that uses <g type="x"> to pull in a Unicode value (or text value, as required) from the same charDecl.xml in the Stylesheets directory.

The idea is to provide a legacy template that works for those who still use g[@type] but need to use the most recent Stylesheets (in particular Papyri.info), but without the current massive and repetitive special-case lists for "London", "IOSPE", "DDB", "RIB" and "Creta" projects. It will take a bit of testing to check it doesn't break anything, but it feels like it should otherwise be simple enough to write.

Discussion

  • BODARD Gabriel

    BODARD Gabriel - 2021-08-17
    • status: unread --> accepted
    • assigned_to: BODARD Gabriel
    • Priority: 6 --> 7
     
  • BODARD Gabriel

    BODARD Gabriel - 2021-08-17

    Will have a first pass at this and report back.

     
  • BODARD Gabriel

    BODARD Gabriel - 2021-09-21
    • Group: 9.2 --> future
     
  • BODARD Gabriel

    BODARD Gabriel - 2021-09-21
    • Group: future --> 9.3
     
  • BODARD Gabriel

    BODARD Gabriel - 2022-01-18
    • Group: 9.3 --> 9.4
     
  • BODARD Gabriel

    BODARD Gabriel - 2023-06-15
    • Group: 9.4 --> 9.6
     

Log in to post a comment.