wlpotter / csv-to-srophe

A set of XQuery modules for converting CSV data to Srophe-compliant TEI XML records. Developed for Syriaca.org
GNU General Public License v3.0
1 stars 1 forks source link

Person records should use tei:gender rather than tei:sex, and use `@ana` with Syriaca keyword rather than `@value` with string #56

Closed wlpotter closed 10 months ago

wlpotter commented 10 months ago

Person records should use tei:gender in place of tei:sex.

Additionally, the value for the gender should be specified using @ana with a Syriaca keyword URI rather than @value with a string, e.g.:

replace <sex source="#bib3183-1" value="M">male</sex> with <gender source="#bib3183-1" ana="http://syriaca.org/keyword/male">male</gender>

wlpotter commented 10 months ago

Proposal for the CSV here:

wlpotter commented 10 months ago

Updated this in the transform. I decided to leave how tei:sex is handled as-is, for backwards compatibility