Commit 8ea1a38f authored by bettin5's avatar bettin5
Browse files

check if doc avaible

parent 05168c3b
......@@ -99,10 +99,13 @@ Refer to comments in the code to understand the used algorithm.
<xsl:variable name="uri_path">
<xsl:value-of select="concat('https://d-nb.info/gnd/', $gnd_number, '/about/marcxml')"/>
</xsl:variable>
<!--xsl:if test="($gnd_number != '') and (./parent::name/@type != 'object') and (./parent::name/@type != 'org')"-->
<xsl:if test="doc($uri_path)/marc:record">
<xsl:apply-templates select="doc($uri_path)/marc:record" />
</xsl:if>
<xsl:choose>
<xsl:when test="doc-available($uri_path)">
<xsl:apply-templates select="doc($uri_path)/marc:record" />
</xsl:when>
</xsl:choose>
</doc>
</xsl:if>
</xsl:template>
......
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