Commit 9db38e6b authored by Jens Kupferschmidt's avatar Jens Kupferschmidt
Browse files

document last features of inheritance

parent 90363d53
......@@ -531,94 +531,6 @@
</xsl:if>
</xsl:for-each>
<<<<<<< HEAD
<!-- area of activity -->
<xsl:if test="marcxml:record/marcxml:datafield[@tag='551']/marcxml:subfield[@code='4' and text() = 'ortw']">
<def.areaOfActivity class="MCRMetaLangText" heritable="false" notinherit="true">
<xsl:for-each select="/marcxml:record/marcxml:datafield[@tag='551']">
<xsl:if test="contains(marcxml:subfield[@code='4'],'ortw')">
<xsl:if test="marcxml:subfield[@code='a']">
<areaOfActivity inherited="0" xml:lang="de">
<xsl:value-of select="marcxml:subfield[@code='a']/text()" />
</areaOfActivity>
</xsl:if>
</xsl:if>
</xsl:for-each>
</def.areaOfActivity>
<def.areaOfActivityIdentifier class="MCRMetaLangText" heritable="false" notinherit="true">
<xsl:if test="marcxml:record/marcxml:datafield[@tag='551']/marcxml:subfield[@code='4' and text() = 'ortw']">
<xsl:for-each select="/marcxml:record/marcxml:datafield[@tag='551']/marcxml:subfield[@code='0']">
<xsl:if test="../marcxml:subfield[@code='4' and text() = 'ortw']">
<xsl:if test="contains(text(),'DE-588')">
<areaOfActivityIdentifier inherited="0" xml:lang="de" type="gnd">
<xsl:value-of select="substring-after(text(),')')" />
</areaOfActivityIdentifier>
</xsl:if></xsl:if>
</xsl:for-each>
</xsl:if>
</def.areaOfActivityIdentifier>
</xsl:if>
<!-- ethnikon
<xsl:if test="/marcxml:record/marcxml:datafield[@tag='551']/marcxml:subfield[@code='a']">
<xsl:if test="marcxml:subfield[@code='4']/text() = 'ortg'">
<def.ethnikon class="MCRMetaClassification" heritable="false" notinherit="true">
<ethnikon classid="viafEthnikon" inherited="0">
<xsl:choose>
<xsl:when test="/marcxml:record/marcxml:datafield[@tag='551']/marcxml:subfield[@code='a']/text() = '****'">
<xsl:attribute name="categid">
<xsl:text>****</xsl:text>
</xsl:attribute>
</xsl:when>
<xsl:when test="/marcxml:record/marcxml:datafield[@tag='375']/marcxml:subfield[@code='a']/text() = '****'">
<xsl:attribute name="categid">
<xsl:text>****</xsl:text>
</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="categid">
<xsl:text>not_used</xsl:text>
</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</ethnikon>
</def.ethnikon>
</xsl:if>
</xsl:if> -->
<!-- profession -->
<xsl:if test="marcxml:record/marcxml:datafield[@tag='550']/marcxml:subfield[@code='4' and text() = 'berc']">
<def.profession class="MCRMetaLangText" heritable="false" notinherit="true">
<xsl:for-each select="/marcxml:record/marcxml:datafield[@tag='550']">
<xsl:if test="marcxml:subfield[@code='a'] and contains(marcxml:subfield[@code='4'],'berc')">
<xsl:if test="marcxml:subfield[@code='a']">
<profession inherited="0" xml:lang="de">
<xsl:value-of select="marcxml:subfield[@code='a']/text()" />
</profession>
</xsl:if>
</xsl:if>
</xsl:for-each>
</def.profession>
<def.professionIdentifier class="MCRMetaLangText" heritable="false" notinherit="true">
<xsl:for-each select="/marcxml:record/marcxml:datafield[@tag='550']/marcxml:subfield[@code='0']">
<xsl:if test="../marcxml:subfield[@code='4' and text() = 'berc']">
<xsl:if test="contains(text(),'DE-588')">
<professionIdentifier inherited="0" xml:lang="de" type="gnd">
<xsl:value-of select="substring-after(text(),')')" />
</professionIdentifier>
</xsl:if>
</xsl:if>
</xsl:for-each>
</def.professionIdentifier>
</xsl:if>
=======
>>>>>>> 7582489... merge and replace data while update GND
<!-- sex -->
<xsl:if test="/marcxml:record/marcxml:datafield[@tag='375']/marcxml:subfield[@code='a']">
<def.sex class="MCRMetaClassification" heritable="false" notinherit="true">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment