-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing LABEL and ORDERLABEL attributes for year- and issue- processes of newspaper #4852
Comments
Hi @andre-hohmann , |
@stefanCCS , thanks a lot for the reply. You are right, the solution sounds very complicated and for it is not applicable. In my opinion, there must be an internal solution - at least with the XSLT export. Thus, i will change the label of the issue. For the year |
There are some limitations in the XSLT, for example neither data from other Another application solution would be to reimplement the powerful CopyData expressions again. This is a kind of metadata programming language that was existing in version 2. For this, there is a syntax definition already developed in #3368 (comment) which i.e. adds syntax for accessing parent meta.xml documents (see circumflex ( Also related: #4679 |
The XSLT has from my point of view the advantage, that it can be easily applied by non-IT administrators and that there are easily accessible validators and discussions/documentation. |
There is another option during the import, respectively during the data-migration. For superordinate processes (newspaper, periodical, ...), the attributes LABEL and ORDERLABEL could be filled with the values of the elements "title" or the "title (sort)". Then, they do not have to be added during the export. Thus it is not a perfect option, but one that could be relatively easily implemented (hopefully). |
@andre-hohmann Is this fixed? |
@Kathrin-Huber :
It would be sustainable, if the export XSLT of the attributes LABEL and ORDERLABEL are applied to all levels in Edit 2023-04-03: It is necessary to add the attributes LABEL and ORDERLABEL both in the superordinate and the subordinate processes. |
This seems to have effects on Kitodo.Presentation: |
Problem
For newspaper processes, the attributes LABEL and ORDERLABEL of
<mets:div TYPE="newspaper">
are not included in the exported XML files of the year- and issue-process. The attributes LABEL and ORDERLABEL of<mets:div TYPE="year">
are included in all exported XML files. See the examples below.In the METS- Anwendungsprofil (page 12), at least the LABEL attribute is included in the year- and issue-process.
In Kitodo.Production 2.x, the LABEL and ORDERLABEL of
<mets:div TYPE="newspaper">
are included in all XML files. See the examples below.Question
Is the lack of the LABEL and ORDERLABEL attributes a desired result of the modified hierarchy in Kitodo.Production? Or did it just not attract anybody's attention, yet?
I could imagine, that especially the LABEL-attribute is needed for a correct depiction of the processes in the presentation.
Solution
It seems that the attributes are needed and they should be created internally. Either by the XSLT export or by internal functions, as for example for the
<mets:div>
of the year-level.The application of additional external or post-processing scripts should be avoided.
Examples
Newspaper 3.x
Year 3.x
Issue 3.x
Newspaper 2.x
https://digital.slub-dresden.de/oai?verb=GetRecord&metadataPrefix=mets&identifier=oai:de:slub-dresden:db:id-1761426109
Year 2.x
https://digital.slub-dresden.de/oai?verb=GetRecord&metadataPrefix=mets&identifier=oai:de:slub-dresden:db:id-1761426109-1911
Issue 2.x
https://digital.slub-dresden.de/oai?verb=GetRecord&metadataPrefix=mets&identifier=oai:de:slub-dresden:db:id-1761426109-19111212
The text was updated successfully, but these errors were encountered: