Skip to content

fix: lookup of facsimile uri

Michelle Weidling requested to merge fix-facsimile-lookup into develop

Formerly, we implicitly expected that only tei:pb within tei:text[@type = 'transcription'] will have a @facs attribute. Page beginnings within other text types were not allowed to have @facs.

We now explicitly filter only for tei:pb[ancestor::tei:text[@type = 'transcription']] in order to retrieve the facsimile URI. This helps us being more robust when @facs appears in other text types' tei:pbs.

Merge request reports

Loading