ilrt / Beyond2022TeiTemplate

Work on creating a template for the TEI/XML that will be used in the Medieval Gold Seam and other seams
2 stars 0 forks source link

Is the idno sufficient for the unique reference code for the database? #17

Closed MikeJ1971 closed 3 years ago

MikeJ1971 commented 3 years ago

For the identifier, I've put the call number used by The National Archives. Is this sufficient for the database 'unique reference number'? I'm guessing so if we are talking about the 'Reference code' described in ISAD(G).

<idno>E 101/233/16</idno>

XPath:

normalize-space(//teiHeader/fileDesc/sourceDesc/msDesc/msIdentifier/idno/string())

Value:

E 101/233/16

I suppose we might have a clash if two repositories use the same identifier. We might want to include the archive with the identifier.

XPath:

normalize-space(concat(//teiHeader/fileDesc/sourceDesc/msDesc/msIdentifier/repository/string(), ', ', //teiHeader/fileDesc/sourceDesc/msDesc/msIdentifier/idno/string()))

Output:

The National Archives, E 101/233/16
crooksp commented 3 years ago

The reference code will need to include the repository to be unique using the MARC identifier for the national archives uk

pdryburgh commented 3 years ago

TNA's international archive code is GBR066. That should perhaps be included too.

munnellg commented 3 years ago

As Peter says, MARC code plus the Reference Code will do the job.

MikeJ1971 commented 3 years ago

Looking at the comments and my rough notes from the meeting, I'm now a bit confused. I've updated the section so that we have:

            <msDesc>
               <msIdentifier>
                  <settlement>London</settlement>
                  <repository>The National Archives</repository>
                  <idno>E 101/233/16</idno>
                  <idno type="URI">https://discovery.nationalarchives.gov.uk/details/r/C4513834</idno>
                  <msName>Roll of receipts. 29 and 30 Edward I.</msName>
               </msIdentifier>
               <msContents>
                  <textLang mainLang="la">Latin</textLang>
               </msContents>
               <physDesc>
                  <p>A parchment roll of 18 membranes.</p>
               </physDesc>
            </msDesc>

Is this ok? This gives the repository and the call number used by that repository. I've also added the TNA discovery permalink as second ID.

crooksp commented 3 years ago

Thanks Mike -- is there another (additional) tag that could be used to represented the unique ID for the repository? The MARC code for The National Archives is "UK-KeNA".

When it comes to the associated digital images, we will be concatenating the Repository and Reference Code to make the string for each set of images unique, e.g. UK-KeNA E 101/233/16.

MikeJ1971 commented 3 years ago

Ah! I finally understand! How about:

<idno type="MARC">UK-KeNA E 101/233/16</idno>

So we have

               <msIdentifier>
                  <settlement>London</settlement>
                  <repository>The National Archives</repository>
                  <idno>E 101/233/16</idno>
                  <idno type="MARC">UK-KeNA E 101/233/16</idno>
                  <idno type="URI">https://discovery.nationalarchives.gov.uk/details/r/C4513834</idno>
                  <msName>Roll of receipts. 29 and 30 Edward I.</msName>
               </msIdentifier>
munnellg commented 3 years ago

Can I suggest type="b2022-idno"? The example isn't a MARC code and might be misleading if someone with no knowledge of the project is trying to interpret it.

Pure pedantry, but I think it makes more sense, unless the value of type is restricted to a list of values?

MikeJ1971 commented 3 years ago

Ok. Updated the example to use the attribute you suggested.