Adds XSLT for Montgomery County Archives. They are adding four sets.
How should this be tested?
Use the following sample XML file to see if the transform functions as expected. Make sure that required DPLA values (title, link to object, link to thumbnail, rights, provider) are in the MODS that is generated.
I had a little difficulty making the selection for dc:type not drop some values. It works currently, but I've hard coded in "photographs" and "Photographs" as this xsl:when wasn't working when I created a variable and lowercased all values. Feel free to suggest an improvement here.
Also noting that MCA requested that their institution be represented as "Montgomery County (Tenn.) Archives" to distinguish them from a similarly named institution.
GitHub Issue: #277
MCA's OAI Endpoint - https://cdm17128.contentdm.oclc.org/oai/oai.php
What does this Pull Request do?
Adds XSLT for Montgomery County Archives. They are adding four sets.
How should this be tested?
Use the following sample XML file to see if the transform functions as expected. Make sure that required DPLA values (title, link to object, link to thumbnail, rights, provider) are in the MODS that is generated.
mca_Test.txt
Additional Notes:
I had a little difficulty making the selection for dc:type not drop some values. It works currently, but I've hard coded in "photographs" and "Photographs" as this xsl:when wasn't working when I created a variable and lowercased all values. Feel free to suggest an improvement here.
Also noting that MCA requested that their institution be represented as "Montgomery County (Tenn.) Archives" to distinguish them from a similarly named institution.
Interested parties
@CanOfBees