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

Update method of marking anonymi in the xml output #34

Closed wlpotter closed 2 years ago

wlpotter commented 2 years ago

I believe the best way to do this would be to repurpose (or duplicate?) the trait column and treat author, saint, and anonymous in the same way.

(Cf. https://github.com/srophe/srophe-app-data/issues/928)

This is a priority to fix since it is (hopefully) the last fix for persons data (before we make all the batch changes of course...)

wlpotter commented 2 years ago

Since batch changes are coming down the pike, I am going to for now just hard code this so if the column "trait.en" has "anonymous" it will also get a //listPerson/person/@ana value of "#syriaca-anonymous".

I will leave this issue open even after implementing this change as a reminder to update this functionality once batch and schema changes have been finalized.