...
 
Commits (4)
......@@ -93,12 +93,15 @@ Refer to comments in the code to understand the used algorithm.
<xsl:value-of select="."/>
</field>
<xsl:variable name="gnd_number">
<xsl:value-of select="substring-after(., 'gnd:')"/>
<xsl:value-of select="normalize-space(substring-after(., 'gnd:'))"/>
</xsl:variable>
<xsl:variable name="uri_path">
<xsl:value-of select="concat('http://d-nb.info/gnd/', $gnd_number, '/about/marcxml')"/>
<xsl:value-of select="concat('https://d-nb.info/gnd/', $gnd_number, '/about/marcxml')"/>
</xsl:variable>
<xsl:apply-templates select="doc($uri_path)/marc:record" />
<xsl:if test="($gnd_number != '') and (./parent::name/@type != 'object') and (./parent::name/@type != 'org')">
<xsl:apply-templates select="doc($uri_path)/marc:record" />
</xsl:if>:
</doc>
</xsl:if>
</xsl:template>
......
This diff is collapsed.