Replace language-specific lines in LIDO 1.0

This commit is contained in:
Stefan Rohde-Enslin 2022-07-27 17:33:52 +02:00 committed by Joshua Ramon Enslin
parent 0ca9e6f594
commit cb3b22ba36
Signed by untrusted user: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -592,7 +592,7 @@
<lido:displayActorInRole>
<xsl:for-each select="persinst_anzeigename[(../ereignis_persinst_sicher = 'n')]">
<xsl:value-of select="."/>
</xsl:for-each> (wahrscheinlich)</lido:displayActorInRole>
</xsl:for-each> (?)</lido:displayActorInRole>
</xsl:if>
<xsl:if test="(ereignis_persinst_sicher != 'n')">
<xsl:for-each select="persinst_anzeigename[(../ereignis_persinst_sicher != 'n')]">
@ -629,11 +629,6 @@
</xsl:for-each>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<!-- <xsl:for-each select="../noda_source">
<xsl:if test="position() = 1">
<xsl:value-of select="."/>
</xsl:if>
</xsl:for-each> -->
<xsl:value-of select="."/>
</lido:actorID>
</xsl:for-each>
@ -681,9 +676,9 @@
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
<xsl:value-of select="."/>
<xsl:value-of select="."/> (?)
</xsl:if>
<xsl:if test="string-length(./@lang) = 0"><xsl:value-of select="."/> (wahrscheinlich)</xsl:if>
<xsl:if test="string-length(./@lang) = 0"><xsl:value-of select="."/> (?)</xsl:if>
</lido:displayDate>
</xsl:for-each>
</xsl:if>
@ -717,84 +712,6 @@
</lido:date>
</lido:eventDate>
</xsl:if>
<!--
<xsl:if test="string-length(ort_name) != 0">
<lido:eventPlace>
<xsl:if test="(ereignis_orte_sicher = 'n')">
<lido:displayPlace>
<xsl:for-each select="ort_name[(../ereignis_orte_sicher = 'n')]">
<xsl:value-of select="."/>
</xsl:for-each> (wahrscheinlich)</lido:displayPlace>
</xsl:if>
<xsl:if test="(ereignis_orte_sicher != 'n')">
<xsl:for-each select="ort_name[(../ereignis_orte_sicher != 'n')]">
<lido:displayPlace>
<xsl:value-of select="."/>
</lido:displayPlace>
</xsl:for-each>
</xsl:if>
<lido:place>
<xsl:for-each select="ort_geonames">
<lido:placeID>
<xsl:attribute name="lido:source">geonames</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('https://sws.geonames.org/', .)"/>
</lido:placeID>
</xsl:for-each>
<xsl:for-each select="ort_land[(string-length(../ort_land) != 0)]">
<lido:placeID>
<xsl:attribute name="lido:source">TGN</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="concat('http://vocab.getty.edu/tgn/', .)"/>
</lido:placeID>
</xsl:for-each>
<xsl:for-each select="noda_ort_Set/noda_source[(../noda_source = 'gnd')]">
<lido:placeID>
<xsl:attribute name="lido:source">gnd</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:placeID>
</xsl:for-each>
<xsl:for-each select="noda_ort_Set/noda_source[(../noda_source = 'md:term')]">
<lido:placeID>
<xsl:attribute name="lido:source">md:term</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:placeID>
</xsl:for-each>
<lido:namePlaceSet>
<xsl:if test="(ereignis_orte_sicher = 'n')">
<lido:appellationValue>
<xsl:for-each select="ort_name[(../ereignis_orte_sicher = 'n')]">
<xsl:value-of select="."/>
</xsl:for-each> (wahrscheinlich)</lido:appellationValue>
</xsl:if>
<xsl:if test="(ereignis_orte_sicher != 'n')">
<xsl:for-each select="ort_name[(../ereignis_orte_sicher != 'n')]">
<lido:appellationValue>
<xsl:value-of select="."/>
</lido:appellationValue>
</xsl:for-each>
</xsl:if>
</lido:namePlaceSet>
<xsl:if test="ort_nord_sued!=''">
<lido:gml>
<gml:Point srsName="EPSG:4326">
<gml:pos>
<xsl:value-of select="ort_nord_sued" />
<xsl:value-of select="' '" />
<xsl:value-of select="ort_west_ost" />
</gml:pos>
</gml:Point>
</lido:gml>
</xsl:if>
</lido:place>
</lido:eventPlace>
</xsl:if>
-->
<xsl:if test="string-length(ort_name) != 0">
<lido:eventPlace>
<xsl:if test="(ereignis_orte_sicher = 'n')">
@ -804,13 +721,13 @@
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
<xsl:value-of select="."/> <!--(wahrscheinlich)-->
<xsl:value-of select="."/> (?)
</xsl:if>
<xsl:if test="string-length(./@lang) = 0">
<xsl:attribute name="xml:lang">
<!-- <xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
<xsl:value-of select="."/> (wahrscheinlich)
</xsl:attribute>-->
<xsl:value-of select="."/> (?)
</xsl:if>
</lido:displayPlace>
</xsl:for-each>