...
Code Block | ||||
---|---|---|---|---|
| ||||
<fileSec> <fileGrp ID="etdadmin-mets-fgrp-1" USE="CONTENT"> <file GROUPID="etdadmin-mets-file-group" ID="etdadmin-mets-file-2132021" MIMETYPE="application/pdf" ADMID="amd_primary" SEQ="1"> <FLocat LOCTYPE="URL" xlink:href="thesis_pdfa_allisonhyatt.pdf"/> </file> <file GROUPID="etdadmin-mets-file-group" ID="etdadmin-mets-file-2132069" MIMETYPE="application/pdf" ADMID="amd_supplemental_1" SEQ="1"> <FLocat LOCTYPE="URL" xlink:href="appendices_pdfa_allisonhyatt.pdf"/> </file> </fileGrp> <fileGrp ID="etdadmin-mets-fgrp-2" USE="LICENSE"> <file GROUPID="etdadmin-mets-file-group" ID="etdadmin-mets-file-2046147" MIMETYPE="application/pdf" ADMID="amd_license_2046147"> <FLocat LOCTYPE="URL" xlink:href="setup_2E592954-F85C-11EA-ABB1-E61AE629DA94.pdf"/> </file> </fileGrp> </fileSec> |
For each file in the fileSec, we need to record the following information:
- Filename - from xlink:href value of file field
- Mime-type - from MIMETYPE value of file field
- ADMID value in file field. Valuies should start with amd_primary, amd_supplemental, or amd_licenseĀ
- USE value of fileGrp field that contains the file. Values are CONTENT or LICENSE
- Filename - from xlink:href value of file field
Variables example Variables extracted from fileSec above:
Variable | Source | Example | What's it for |
---|---|---|---|
Filename | FLocat xlink:href | thesis_pdfa_allisonhyatt.pdf | Identifies file from directory that needs to be deposited |
Mime-type | file MIMETYPE | application/pdf | Determines which Content Model will be needed |
USE type | fileGrp USE | CONTENT | Part of ROLE determination |
ADMID | file ADMID | amd_primary | Part of ROLE determination |
...