Lines 699-704
Link Here
|
699 |
</xsl:call-template> |
699 |
</xsl:call-template> |
700 |
</xsl:if> |
700 |
</xsl:if> |
701 |
|
701 |
|
|
|
702 |
<!-- add link to external data like wikidata, viaf... --> |
703 |
<xsl:if test="marc:subfield[@code='1']"> |
704 |
<xsl:for-each select="marc:subfield[@code='1']"> |
705 |
<span class="linkeddata_subj"> |
706 |
<xsl:text> [</xsl:text> |
707 |
<a> |
708 |
<xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute> |
709 |
<xsl:attribute name="target">_blank</xsl:attribute> |
710 |
<xsl:choose> |
711 |
<xsl:when test="contains(.,'wikidata')"> |
712 |
<xsl:text>Wikidata</xsl:text> |
713 |
</xsl:when> |
714 |
<xsl:when test="contains(.,'viaf')"> |
715 |
<xsl:text>VIAF</xsl:text> |
716 |
</xsl:when> |
717 |
<xsl:otherwise> |
718 |
<xsl:value-of select="."/> |
719 |
</xsl:otherwise> |
720 |
</xsl:choose> |
721 |
</a> |
722 |
<xsl:text>]</xsl:text> |
723 |
</span> |
724 |
</xsl:for-each> |
725 |
</xsl:if> |
726 |
|
702 |
<xsl:choose> |
727 |
<xsl:choose> |
703 |
<xsl:when test="position()=last()"></xsl:when> |
728 |
<xsl:when test="position()=last()"></xsl:when> |
704 |
<xsl:otherwise> | </xsl:otherwise> |
729 |
<xsl:otherwise> | </xsl:otherwise> |
Lines 1911-1916
Link Here
|
1911 |
<xsl:with-param name="authid"><xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:with-param> |
1936 |
<xsl:with-param name="authid"><xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:with-param> |
1912 |
</xsl:call-template> |
1937 |
</xsl:call-template> |
1913 |
</xsl:if> |
1938 |
</xsl:if> |
|
|
1939 |
|
1940 |
<!-- add link to external data like wikidata, viaf... --> |
1941 |
<xsl:if test="(marc:subfield[@code='1'])"> |
1942 |
<xsl:for-each select="marc:subfield[@code='1']"> |
1943 |
<span class="linkeddata"> |
1944 |
<xsl:text> [</xsl:text> |
1945 |
<a> |
1946 |
<xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute> |
1947 |
<xsl:attribute name="target">_blank</xsl:attribute> |
1948 |
<xsl:choose> |
1949 |
<xsl:when test="contains(.,'wikidata')"> |
1950 |
<xsl:text>Wikidata</xsl:text> |
1951 |
</xsl:when> |
1952 |
<xsl:when test="contains(.,'viaf')"> |
1953 |
<xsl:text>VIAF</xsl:text> |
1954 |
</xsl:when> |
1955 |
<xsl:otherwise> |
1956 |
<xsl:value-of select="."/> |
1957 |
</xsl:otherwise> |
1958 |
</xsl:choose> |
1959 |
</a> |
1960 |
<xsl:text>]</xsl:text> |
1961 |
</span> |
1962 |
</xsl:for-each> |
1963 |
</xsl:if> |
1964 |
|
1914 |
<xsl:choose> |
1965 |
<xsl:choose> |
1915 |
<xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> |
1966 |
<xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> |
1916 |
</xsl:choose> |
1967 |
</xsl:choose> |