1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-09 19:59:57 +02:00

MUse relative predicate

This commit is contained in:
Gerber, Mike 2023-12-09 12:48:07 +01:00
parent 8fc4eeeb3b
commit 0acaa83163

View file

@ -326,7 +326,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]:
# it suffices to do this the old-fashioned way.
sm_links = mets.findall(
f'//mets:structLink/mets:smLink[@xlink:to="{to_phys}"]', ns
f'./mets:structLink/mets:smLink[@xlink:to="{to_phys}"]', ns
)
targets = []