forked from awinkler/musdb-md-xm-xsls
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
2b275b24dd
|
|||
|
6a8c98920f
|
|||
| d54dbe278b | |||
| 126c595f05 | |||
|
5e1e3e7baf
|
|||
| 6f3a780513 |
@@ -8,6 +8,8 @@
|
||||
Updated version of the LIDO standard, as of 2022. See <https://lido-schema.org>
|
||||
- EODEM
|
||||
A LIDO profile (based on LIDO 1.1) specifically designed for the automation of the exchange of loan object information. Contrary to LIDO, it thus also covers some internal fields. See: <https://cidoc.mini.icom.museum/working-groups/documentation-standards/eodem-home/>
|
||||
- LIDO 1.0 for the CCC ([Collections from colonial contexts](https://ccc.deutsche-digitale-bibliothek.de/en)) Portral of the German Digital Library
|
||||
*lido-1.0-ccc*
|
||||
|
||||
## Repository structure
|
||||
|
||||
|
||||
@@ -15,7 +15,21 @@
|
||||
<xsl:value-of select="concat(md_version, 'institution/', institution_id)" disable-output-escaping="yes" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="lido:type">local</xsl:attribute>
|
||||
<xsl:value-of select="institution_isil" />
|
||||
<!-- ISIL -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="collectionSet/sammlung_isil != ''">
|
||||
<xsl:value-of select="collectionSet/sammlung_isil" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:if test="institution_isil != ''">
|
||||
<xsl:value-of select="institution_isil" />
|
||||
</xsl:if>
|
||||
<xsl:if test="institution_isil = ''">
|
||||
<xsl:value-of select="institution_id" />
|
||||
</xsl:if>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<!-- End of ISIL -->
|
||||
<xsl:value-of select="'/'" />
|
||||
<xsl:value-of select="objekt_id" />
|
||||
</lido:lidoRecID>
|
||||
@@ -785,14 +799,14 @@
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<lido:date>
|
||||
<xsl:for-each select="zeit_beginn">
|
||||
<xsl:for-each select="zeit_beginn_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:earliestDate>
|
||||
<xsl:value-of select="."/>
|
||||
</lido:earliestDate>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="zeit_ende">
|
||||
<xsl:for-each select="zeit_ende_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:latestDate>
|
||||
<xsl:value-of select="."/>
|
||||
@@ -1311,14 +1325,14 @@
|
||||
</xsl:for-each>
|
||||
<!-- </xsl:if> -->
|
||||
<lido:date>
|
||||
<xsl:for-each select="../zeit_beginn">
|
||||
<xsl:for-each select="../zeit_beginn_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:earliestDate>
|
||||
<xsl:value-of select="."/>
|
||||
</lido:earliestDate>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="../zeit_ende">
|
||||
<xsl:for-each select="../zeit_ende_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:latestDate>
|
||||
<xsl:value-of select="."/>
|
||||
|
||||
2171
src/lido-1.0-ccc.xsl
Normal file
2171
src/lido-1.0-ccc.xsl
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
||||
xmlns:gml="http://www.opengis.net/gml">
|
||||
<xsl:output method="xml" omit-xml-declaration="no" encoding="UTF-8" indent="yes"/>
|
||||
<xsl:template match="/">
|
||||
<lido:lidoWrap xmlns:lido="http://www.lido-schema.org" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.lido-schema.org http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/base/feature.xsd">
|
||||
<lido:lidoWrap xmlns:lido="http://www.lido-schema.org" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.lido-schema.org http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/base/feature.xsd">
|
||||
<xsl:apply-templates select="/root"/>
|
||||
</lido:lidoWrap>
|
||||
</xsl:template>
|
||||
@@ -15,7 +15,21 @@
|
||||
<xsl:value-of select="concat(md_version, 'institution/', institution_id)" disable-output-escaping="yes" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="lido:type">local</xsl:attribute>
|
||||
<xsl:value-of select="institution_isil" />
|
||||
<!-- ISIL -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="collectionSet/sammlung_isil != ''">
|
||||
<xsl:value-of select="collectionSet/sammlung_isil" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:if test="institution_isil != ''">
|
||||
<xsl:value-of select="institution_isil" />
|
||||
</xsl:if>
|
||||
<xsl:if test="institution_isil = ''">
|
||||
<xsl:value-of select="institution_id" />
|
||||
</xsl:if>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<!-- End of ISIL -->
|
||||
<xsl:value-of select="'/'" />
|
||||
<xsl:value-of select="objekt_id" />
|
||||
</lido:lidoRecID>
|
||||
@@ -759,14 +773,14 @@
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<lido:date>
|
||||
<xsl:for-each select="zeit_beginn">
|
||||
<xsl:for-each select="zeit_beginn_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:earliestDate>
|
||||
<xsl:value-of select="."/>
|
||||
</lido:earliestDate>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="zeit_ende">
|
||||
<xsl:for-each select="zeit_ende_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:latestDate>
|
||||
<xsl:value-of select="."/>
|
||||
@@ -1075,14 +1089,14 @@
|
||||
</lido:displayDate>
|
||||
</xsl:for-each>
|
||||
<lido:date>
|
||||
<xsl:for-each select="../zeit_beginn">
|
||||
<xsl:for-each select="../zeit_beginn_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:earliestDate>
|
||||
<xsl:value-of select="."/>
|
||||
</lido:earliestDate>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="../zeit_ende">
|
||||
<xsl:for-each select="../zeit_ende_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:latestDate>
|
||||
<xsl:value-of select="."/>
|
||||
|
||||
@@ -15,7 +15,21 @@
|
||||
<xsl:value-of select="concat(md_version, 'institution/', institution_id)" disable-output-escaping="yes" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="lido:type">local</xsl:attribute>
|
||||
<xsl:value-of select="institution_isil" />
|
||||
<!-- ISIL -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="collectionSet/sammlung_isil != ''">
|
||||
<xsl:value-of select="collectionSet/sammlung_isil" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:if test="institution_isil != ''">
|
||||
<xsl:value-of select="institution_isil" />
|
||||
</xsl:if>
|
||||
<xsl:if test="institution_isil = ''">
|
||||
<xsl:value-of select="institution_id" />
|
||||
</xsl:if>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<!-- End of ISIL -->
|
||||
<xsl:value-of select="'/'" />
|
||||
<xsl:value-of select="objekt_id" />
|
||||
</lido:lidoRecID>
|
||||
@@ -791,14 +805,14 @@
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
<lido:date>
|
||||
<xsl:for-each select="zeit_beginn">
|
||||
<xsl:for-each select="zeit_beginn_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:earliestDate>
|
||||
<xsl:value-of select="."/>
|
||||
</lido:earliestDate>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="zeit_ende">
|
||||
<xsl:for-each select="zeit_ende_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:latestDate>
|
||||
<xsl:value-of select="."/>
|
||||
@@ -1133,14 +1147,14 @@
|
||||
</xsl:for-each>
|
||||
<!-- </xsl:if> -->
|
||||
<lido:date>
|
||||
<xsl:for-each select="../zeit_beginn">
|
||||
<xsl:for-each select="../zeit_beginn_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:earliestDate>
|
||||
<xsl:value-of select="."/>
|
||||
</lido:earliestDate>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="../zeit_ende">
|
||||
<xsl:for-each select="../zeit_ende_datum">
|
||||
<xsl:if test="position() = 1">
|
||||
<lido:latestDate>
|
||||
<xsl:value-of select="."/>
|
||||
|
||||
@@ -33,21 +33,8 @@
|
||||
"show_incipit": true,
|
||||
"show_explicit": true,
|
||||
"show_valediction": true,
|
||||
"show_mass2_laenge_wert": true,
|
||||
"show_mass2_laenge_einheit": true,
|
||||
"show_mass2_breite_wert": true,
|
||||
"show_mass2_breite_einheit": true,
|
||||
"show_mass2_hoehe_wert": true,
|
||||
"show_mass2_hoehe_einheit": true,
|
||||
"show_mass2_gewicht_wert": true,
|
||||
"show_mass2_gewicht_einheit": true,
|
||||
"show_mass2_durchmesser_wert": true,
|
||||
"show_mass2_durchmesser_einheit": true,
|
||||
"show_wandungsstaerke_wert": true,
|
||||
"show_wandungsstaerke_einheit": true,
|
||||
"show_stueckzahl": true,
|
||||
"show_mass2_seitenzahl": true,
|
||||
"show_mass2_stempelstellung": true,
|
||||
"show_separated_measurements": true,
|
||||
"show_additional_numbers": false,
|
||||
"show_vergleichsobjekte2": true,
|
||||
"show_material2": true,
|
||||
"show_technik2": true,
|
||||
|
||||
124
src/selections/lido-1.0-ccc.json
Normal file
124
src/selections/lido-1.0-ccc.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"show_sammlungen": true,
|
||||
"show_serien": true,
|
||||
"show_acquisitions": false,
|
||||
"show_exhibitions": false,
|
||||
"show_loans": false,
|
||||
"show_ereignisse": true,
|
||||
"show_tags": true,
|
||||
"show_literatur": true,
|
||||
"show_markings": true,
|
||||
"show_transcripts": true,
|
||||
"show_links": true,
|
||||
"show_object_to_object_links": true,
|
||||
"show_images": true,
|
||||
"show_hidden_images": false,
|
||||
"show_objekt_inventarnr": true,
|
||||
"show_objektart": true,
|
||||
"show_objekt_name": true,
|
||||
"show_objekt_beschreibung": true,
|
||||
"show_objekt_material_technik": true,
|
||||
"show_objekt_masse": true,
|
||||
"show_ort2_name": false,
|
||||
"show_ort2_art": false,
|
||||
"show_titel2_name": false,
|
||||
"show_titel2_art": false,
|
||||
"show_detaileddescription2": true,
|
||||
"show_beschriftung2": true,
|
||||
"show_form": true,
|
||||
"show_sex": true,
|
||||
"show_color": true,
|
||||
"show_acknowledgements": true,
|
||||
"show_salutation": true,
|
||||
"show_incipit": true,
|
||||
"show_explicit": true,
|
||||
"show_valediction": true,
|
||||
"show_separated_measurements": true,
|
||||
"show_additional_numbers": false,
|
||||
"show_vergleichsobjekte2": true,
|
||||
"show_material2": true,
|
||||
"show_technik2": true,
|
||||
"show_reception_history": true,
|
||||
"show_object_references": true,
|
||||
"show_content_language": true,
|
||||
"show_objekt_status": false,
|
||||
"show_eingangsnummer": false,
|
||||
"show_invnr2": false,
|
||||
"show_sachgruppe": false,
|
||||
"show_systematik": false,
|
||||
"show_konvolut": false,
|
||||
"show_teilvon": false,
|
||||
"show_zeitpunkt_zugang": false,
|
||||
"show_zugang_art": false,
|
||||
"show_ankaufsumme": false,
|
||||
"show_geld_art": false,
|
||||
"show_vorbesitzer": false,
|
||||
"show_objektgeschichte": false,
|
||||
"show_zustand": false,
|
||||
"show_restaurierung": false,
|
||||
"show_finding_spot_longitude": false,
|
||||
"show_finding_spot_latitude": false,
|
||||
"show_period_copyright": false,
|
||||
"show_period_freeze": false,
|
||||
"show_period_autopublish": false,
|
||||
"show_period_scheduled_end_to_deposit": false,
|
||||
"show_period_comment": false,
|
||||
"show_erwerbender": false,
|
||||
"show_erwerbungsort": false,
|
||||
"show_ersterfasser": false,
|
||||
"show_ersterfasst_zeitpunkt": false,
|
||||
"show_wert_zeitpunkt": false,
|
||||
"show_wert_bestimmer": false,
|
||||
"show_wert_zahl": false,
|
||||
"show_wert_art": false,
|
||||
"show_wert_reference": false,
|
||||
"show_wert2_zeitpunkt": false,
|
||||
"show_wert2_bestimmer": false,
|
||||
"show_wert2_zahl": false,
|
||||
"show_wert2_art": false,
|
||||
"show_deaccession_approved_by": false,
|
||||
"show_deaccession_approved_date": false,
|
||||
"show_disposal_reason": false,
|
||||
"show_disposal_method": false,
|
||||
"show_disposal_recipient_new_id": false,
|
||||
"show_deaccession_date": false,
|
||||
"show_disposal_date": false,
|
||||
"show_disposal_note": false,
|
||||
"show_disposal_cost_value": false,
|
||||
"show_disposal_cost_currency": false,
|
||||
"show_disposal_price_value": false,
|
||||
"show_disposal_price_currency": false,
|
||||
"show_disposal_conditions": false,
|
||||
"show_disposal_authorized_by": false,
|
||||
"show_disposal_authorized_date": false,
|
||||
"show_standort_aktuell": false,
|
||||
"show_standort_eigentlich": false,
|
||||
"show_ausstellung": false,
|
||||
"show_verliehen_an": false,
|
||||
"show_leihvorgang_ansprechpartner": false,
|
||||
"show_leihvorgang_zeitraum": false,
|
||||
"show_leihvorgang_versicherungswert": false,
|
||||
"show_leihvorgang_anmerkungen": false,
|
||||
"show_min_temperature": false,
|
||||
"show_max_temperature": false,
|
||||
"show_min_humidity": false,
|
||||
"show_max_humidity": false,
|
||||
"show_max_lux": false,
|
||||
"show_urheberrechte": true,
|
||||
"show_nutzungsrechte": true,
|
||||
"show_rechte_anmerkungen": false,
|
||||
"show_metadata_rights_holder": true,
|
||||
"show_metadata_rights_status": true,
|
||||
"show_notizen_text2": false,
|
||||
"show_notizen_text1": false,
|
||||
"show_bilder_lokal": false,
|
||||
"show_dokumente_lokal": false,
|
||||
"show_id_of_negative": false,
|
||||
"show_handling_recommendations": false,
|
||||
"show_shipping_note": false,
|
||||
"show_hazards_note": false,
|
||||
"show_condition_checking_requirements": false,
|
||||
"show_installation_note": false,
|
||||
"show_display_recommendations": false,
|
||||
"show_security_requirements": false
|
||||
}
|
||||
@@ -33,21 +33,8 @@
|
||||
"show_incipit": true,
|
||||
"show_explicit": true,
|
||||
"show_valediction": true,
|
||||
"show_mass2_laenge_wert": true,
|
||||
"show_mass2_laenge_einheit": true,
|
||||
"show_mass2_breite_wert": true,
|
||||
"show_mass2_breite_einheit": true,
|
||||
"show_mass2_hoehe_wert": true,
|
||||
"show_mass2_hoehe_einheit": true,
|
||||
"show_mass2_gewicht_wert": true,
|
||||
"show_mass2_gewicht_einheit": true,
|
||||
"show_mass2_durchmesser_wert": true,
|
||||
"show_mass2_durchmesser_einheit": true,
|
||||
"show_wandungsstaerke_wert": true,
|
||||
"show_wandungsstaerke_einheit": true,
|
||||
"show_stueckzahl": true,
|
||||
"show_mass2_seitenzahl": true,
|
||||
"show_mass2_stempelstellung": true,
|
||||
"show_separated_measurements": true,
|
||||
"show_additional_numbers": false,
|
||||
"show_vergleichsobjekte2": true,
|
||||
"show_material2": true,
|
||||
"show_technik2": true,
|
||||
|
||||
@@ -33,21 +33,8 @@
|
||||
"show_incipit": true,
|
||||
"show_explicit": true,
|
||||
"show_valediction": true,
|
||||
"show_mass2_laenge_wert": true,
|
||||
"show_mass2_laenge_einheit": true,
|
||||
"show_mass2_breite_wert": true,
|
||||
"show_mass2_breite_einheit": true,
|
||||
"show_mass2_hoehe_wert": true,
|
||||
"show_mass2_hoehe_einheit": true,
|
||||
"show_mass2_gewicht_wert": true,
|
||||
"show_mass2_gewicht_einheit": true,
|
||||
"show_mass2_durchmesser_wert": true,
|
||||
"show_mass2_durchmesser_einheit": true,
|
||||
"show_wandungsstaerke_wert": true,
|
||||
"show_wandungsstaerke_einheit": true,
|
||||
"show_stueckzahl": true,
|
||||
"show_mass2_seitenzahl": true,
|
||||
"show_mass2_stempelstellung": true,
|
||||
"show_separated_measurements": true,
|
||||
"show_additional_numbers": false,
|
||||
"show_vergleichsobjekte2": true,
|
||||
"show_material2": true,
|
||||
"show_technik2": true,
|
||||
|
||||
Reference in New Issue
Block a user