-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
METS div parser: generalize to cover more cases #64
Comments
Hi @bertsky, |
@t-mayer I have been digging a little deeper, and found that ENMAP support would require a lot more besides flexible
There are probably more challenges, but this is already a lot of work. So I'm afraid there is no simple workaround. Sorry, I cannot promise any progress on this matter ATM. But PRs are always welcome of course! |
duplicate of #65 |
self-note: cf. MODS and METS parsing in ULB Halle's digital-flow |
We currently rely on the assumption, that the
mets:div
content element contains an@ADMID
(which is mandatory by METS DFG application profile, but optional in the ENMAP profile):mets-mods2tei/mets_mods2tei/api/tei.py
Lines 828 to 837 in 47f5bc2
Since this is fragile and inflexible, the parser should probably search for
@TYPE
and@ID
(perhaps cross-checking with structlink) instead.The text was updated successfully, but these errors were encountered: