slub / mets-mods2tei

Convert bibliographic meta data in MODS format to TEI headers
Apache License 2.0
8 stars 7 forks source link

Allow local (file) paths as source for linked full texts #42

Closed wrznr closed 4 years ago

wrznr commented 4 years ago

OCR-D produces METS which does not use URLs for the linkage of external files but rather file paths. This commit introduces file paths as an additional option for retrieving full texts from external ALTO files. In addition, the full text file group may be specified (rather than using a fixed FULLTEXT file group). To deal with different versions of ALTO, a proposal by @kba has been implemented which involves brute-force namespace renaming. The concept of using the same namespace for different, non-compatible XML versions is a PITA.

Fixes #41