Due to maintenance reasons, gitlab.gwdg.de will not be available on Saturday 2021-07-24 from 10:30 to approximately 11:30 CEST.

Commit 260801a6 authored by bettin5@sub.uni-goettingen.de's avatar bettin5@sub.uni-goettingen.de
Browse files

GFL-172/bug missing space in mostly use name

parent 1a0dc51c
......@@ -121,31 +121,55 @@ Refer to comments in the code to understand the used algorithm.
<xsl:when test="marc:datafield[@tag='100']">
<field name="mostly_use_name">
<xsl:value-of select="marc:datafield[@tag='100']/marc:subfield[@code='a']"/>
<xsl:if test="marc:datafield[@tag='100']/marc:subfield[@code='g']">
<xsl:text> </xsl:text>
<xsl:value-of select="marc:datafield[@tag='100']/marc:subfield[@code='g']"/>
</xsl:if>
</field>
</xsl:when>
<xsl:when test="marc:datafield[@tag='110']">
<field name="mostly_use_name">
<xsl:value-of select="marc:datafield[@tag='110']/marc:subfield[@code='a']"/>
<xsl:if test="marc:datafield[@tag='110']/marc:subfield[@code='g']">
<xsl:text> </xsl:text>
<xsl:value-of select="marc:datafield[@tag='110']/marc:subfield[@code='g']"/>
</xsl:if>
</field>
</xsl:when>
<xsl:when test="marc:datafield[@tag='111']">
<field name="mostly_use_name">
<xsl:value-of select="marc:datafield[@tag='111']/marc:subfield[@code='a']"/>
<xsl:if test="marc:datafield[@tag='111']/marc:subfield[@code='g']">
<xsl:text> </xsl:text>
<xsl:value-of select="marc:datafield[@tag='111']/marc:subfield[@code='g']"/>
</xsl:if>
</field>
</xsl:when>
<xsl:when test="marc:datafield[@tag='130']">
<field name="mostly_use_name">
<xsl:value-of select="marc:datafield[@tag='130']/marc:subfield[@code='a']"/>
<xsl:if test="marc:datafield[@tag='130']/marc:subfield[@code='g']">
<xsl:text> </xsl:text>
<xsl:value-of select="marc:datafield[@tag='130']/marc:subfield[@code='g']"/>
</xsl:if>
</field>
</xsl:when>
<xsl:when test="marc:datafield[@tag='150']">
<field name="mostly_use_name">
<xsl:value-of select="marc:datafield[@tag='150']"/>
<xsl:value-of select="marc:datafield[@tag='150']/marc:subfield[@code='a']"/>
<xsl:if test="marc:datafield[@tag='150']/marc:subfield[@code='g']">
<xsl:text> </xsl:text>
<xsl:value-of select="marc:datafield[@tag='150']/marc:subfield[@code='g']"/>
</xsl:if>
</field>
</xsl:when>
<xsl:when test="marc:datafield[@tag='151']">
<field name="mostly_use_name">
<xsl:value-of select="marc:datafield[@tag='151']"/>
<xsl:value-of select="marc:datafield[@tag='151']/marc:subfield[@code='a']"/>
<xsl:if test="marc:datafield[@tag='151']/marc:subfield[@code='g']">
<xsl:text> </xsl:text>
<xsl:value-of select="marc:datafield[@tag='151']/marc:subfield[@code='g']"/>
</xsl:if>
</field>
</xsl:when>
</xsl:choose>
......
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