mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-07 19:05:06 +02:00
✨ ALTO: Support more ALTO versions
This commit is contained in:
parent
4bb3379ab1
commit
937e7d74eb
1 changed files with 2 additions and 1 deletions
|
@ -228,8 +228,9 @@ def _to_dict(root, raise_errors):
|
||||||
elif root_name.namespace == "http://www.loc.gov/METS/":
|
elif root_name.namespace == "http://www.loc.gov/METS/":
|
||||||
return mets_to_dict(root, raise_errors)
|
return mets_to_dict(root, raise_errors)
|
||||||
elif root_name.namespace in [
|
elif root_name.namespace in [
|
||||||
"http://www.loc.gov/standards/alto/ns-v2#",
|
"http://schema.ccs-gmbh.com/ALTO",
|
||||||
"http://www.loc.gov/standards/alto/",
|
"http://www.loc.gov/standards/alto/",
|
||||||
|
"http://www.loc.gov/standards/alto/ns-v2#",
|
||||||
]:
|
]:
|
||||||
return alto_to_dict(root, raise_errors)
|
return alto_to_dict(root, raise_errors)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue