mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2025-06-09 19:39:54 +02:00
make xpath for PPN number more specific to avoid catching the PPN of containing work
This commit is contained in:
parent
0f64f07635
commit
82769077df
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class OcrdNeatExportProcessor(Processor):
|
||||||
iiif_url_template = self.parameter['iiif_url_template']
|
iiif_url_template = self.parameter['iiif_url_template']
|
||||||
noproxy = self.parameter['noproxy']
|
noproxy = self.parameter['noproxy']
|
||||||
|
|
||||||
ppn_found = self.workspace.mets._tree.find('//mods:recordIdentifier[@source="gbv-ppn"]', NS)
|
ppn_found = self.workspace.mets._tree.find('//mods:mods/mods:recordInfo/mets:recordIdentifier[@source="gbv-ppn"]', NS)
|
||||||
if ppn_found is not None:
|
if ppn_found is not None:
|
||||||
ppn = ppn_found.text
|
ppn = ppn_found.text
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue