Cover controlled terms for objectWorkType and material / tech in LIDO

1.0 exports
This commit is contained in:
Stefan Rohde-Enslin 2023-07-09 22:18:25 +02:00 committed by Joshua Ramon Enslin
parent 4ac221bee2
commit 2ff939c6db

View File

@ -97,6 +97,34 @@
</xsl:for-each>
</xsl:if>
</lido:objectWorkType>
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'object_type'">
<lido:objectWorkType>
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
</lido:term>
</xsl:for-each>
</lido:objectWorkType>
</xsl:if>
</xsl:for-each>
</lido:objectWorkTypeWrap>
<lido:classificationWrap>
<xsl:for-each select="collectionSet">
@ -862,6 +890,43 @@
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'material'">
<lido:eventMaterialsTech>
<lido:materialsTech>
<lido:termMaterialsTech lido:type="material">
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
</lido:term>
</xsl:for-each>
</lido:termMaterialsTech>
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
</xsl:for-each>
<xsl:if test="technik2!=''">
<lido:eventMaterialsTech>
<lido:materialsTech>
@ -873,6 +938,40 @@
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="../relation_type = 'technique'">
<lido:eventMaterialsTech>
<lido:materialsTech>
<lido:termMaterialsTech lido:type="technique">
<xsl:for-each select="../noda_tag_Set/noda_source">
<xsl:if test="string-length(../noda_link)!=0">
<lido:conceptID>
<xsl:attribute name="lido:source">
<xsl:value-of select="../noda_source"/>
</xsl:attribute>
<xsl:attribute name="lido:type">uri</xsl:attribute>
<xsl:value-of select="../noda_link"/>
</lido:conceptID>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="../tag_name">
<lido:term>
<xsl:attribute name="lido:addedSearchTerm">no</xsl:attribute>
<xsl:if test="string-length(./@lang)!=0">
<xsl:attribute name="xml:lang">
<xsl:value-of select="./@lang"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
</lido:term>
</xsl:for-each>
</lido:termMaterialsTech>
</lido:materialsTech>
</lido:eventMaterialsTech>
</xsl:if>
</xsl:for-each>
</lido:event>
</lido:eventSet>
</xsl:if>
@ -1191,6 +1290,7 @@
</xsl:if>
<xsl:for-each select="tagSet/tag_id">
<xsl:if test="(../relation_type != 'object_type') and (../relation_type != 'material') and (../relation_type != 'technique')">
<lido:subjectSet>
<lido:subject>
<lido:subjectConcept>
@ -1219,11 +1319,11 @@
</lido:subjectConcept>
</lido:subject>
</lido:subjectSet>
</xsl:if>
</xsl:for-each>
</lido:subjectWrap>
<lido:relatedWorksWrap>
<xsl:for-each select="vergleichsobjekte2">
<lido:relatedWorkSet>
<lido:relatedWork>