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 0a8bb841 authored by bettin5@sub.uni-goettingen.de's avatar bettin5@sub.uni-goettingen.de
Browse files

add if no text in new metadata

parent 23a472d0
......@@ -571,19 +571,39 @@ Refer to comments in the code to understand the used algorithm.
<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
</field>
<field name="institution">
<xsl:value-of select="//repository/normalize-space()"/><xsl:text>, </xsl:text>
<xsl:value-of select="//institution/normalize-space()"/><xsl:text>, </xsl:text>
<xsl:value-of select="//settlement/normalize-space()"/><xsl:text> (</xsl:text>
<xsl:value-of select="//country/normalize-space()"/><xsl:text>)</xsl:text>
<xsl:if test="//repository != '' ">
<xsl:value-of select="//repository/normalize-space()"/><xsl:text>, </xsl:text>
</xsl:if>
<xsl:if test="//institution != '' ">
<xsl:value-of select="//institution/normalize-space()"/><xsl:text>, </xsl:text>
</xsl:if>
<xsl:if test="//settlement != '' ">
<xsl:value-of select="//settlement/normalize-space()"/>
</xsl:if>
<xsl:if test="//country != '' ">
<xsl:text> (</xsl:text>
<xsl:value-of select="//country/normalize-space()"/><xsl:text>)</xsl:text>
</xsl:if>
</field>
<field name="shelfmark">
<xsl:value-of select="//idno/normalize-space()"/>
</field>
<field name="script_source">
<xsl:value-of select="//supportDesc/extent/text()"/><xsl:text>; </xsl:text>
<xsl:value-of select="//supportDesc/extent/dimensions/height/normalize-space()"/><xsl:text> x </xsl:text>
<xsl:value-of select="//supportDesc/extent/dimensions/width/normalize-space()"/><xsl:text> </xsl:text><xsl:value-of select="//supportDesc/extent/dimensions/@unit/normalize-space()"/><xsl:text>. </xsl:text>
<xsl:value-of select="//bindingDesc/normalize-space()"/>
<xsl:if test="//supportDesc/extent/text() != '' ">
<xsl:value-of select="//supportDesc/extent/text()"/>
</xsl:if>
<xsl:if test="//supportDesc/extent/dimensions/height != ''">
<xsl:value-of select="//supportDesc/extent/dimensions/height/normalize-space()"/><xsl:text> x </xsl:text>
</xsl:if>
<xsl:if test="//supportDesc/extent/dimensions/width != ''">
<xsl:value-of select="//supportDesc/extent/dimensions/width/normalize-space()"/><xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="//supportDesc/extent/dimensions/@unit">
<xsl:value-of select="//supportDesc/extent/dimensions/@unit/normalize-space()"/><xsl:text>. </xsl:text>
</xsl:if>
<xsl:if test="//bindingDesc != ''">
<xsl:value-of select="//bindingDesc/normalize-space()"/>
</xsl:if>
</field>
<xsl:for-each select="//handNote">
<field name="writer">
......
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