Open wlpotter opened 1 year ago
Worth clarifying with J of E that this is still a desired feature
@dlschwartz I have a vague memory of this being a request from J of E, or something we suggested to them? Do you know if this is an important feature to have for the transform?
We should discuss. I don't have a clear recollection of any decision made.
Will go ahead and implement this
For data that is in-progress and could be transformed multiple times, it can be useful to have an indication in the transformed TEI record stating that the CSV remains canonical.
An example might even be the subjects taxonomy, though this was initially raised in talks with the John of Ephesus project.
To implement:
<change type="warning" subtype="non-canonical-data-format" when="{$DATE}" who="{$config:creator-uri}">WARNING: This TEI XML file was generated from a CSV data sheet and is still in-progress. The CSV record remains the canonical form of this data, please do not edit this XML file by hand. All changes should be made in the CSV</change>
Only one
change[@subtype="non-canonical-data-format"]
elements should exist. The script should remove all but one, if the boolean flag is true. If the flag is false, none of these change log elements should be left in the final output.Potentially also mark in the
//revisionDesc/@status
?