Lines 691-696
Link Here
|
691 |
</xsl:call-template> |
691 |
</xsl:call-template> |
692 |
</xsl:if> |
692 |
</xsl:if> |
693 |
|
693 |
|
|
|
694 |
<!-- add link to external data like wikidata, viaf... --> |
695 |
<xsl:if test="marc:subfield[@code='1']"> |
696 |
<xsl:for-each select="marc:subfield[@code='1']"> |
697 |
<span class="linkeddata_subj"> |
698 |
<xsl:text> [</xsl:text> |
699 |
<a> |
700 |
<xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute> |
701 |
<xsl:attribute name="target">_blank</xsl:attribute> |
702 |
<xsl:choose> |
703 |
<xsl:when test="contains(.,'wikidata')"> |
704 |
<xsl:text>Wikidata</xsl:text> |
705 |
</xsl:when> |
706 |
<xsl:when test="contains(.,'viaf')"> |
707 |
<xsl:text>VIAF</xsl:text> |
708 |
</xsl:when> |
709 |
<xsl:otherwise> |
710 |
<xsl:value-of select="."/> |
711 |
</xsl:otherwise> |
712 |
</xsl:choose> |
713 |
</a> |
714 |
<xsl:text>]</xsl:text> |
715 |
</span> |
716 |
</xsl:for-each> |
717 |
</xsl:if> |
718 |
|
694 |
<xsl:choose> |
719 |
<xsl:choose> |
695 |
<xsl:when test="position()=last()"></xsl:when> |
720 |
<xsl:when test="position()=last()"></xsl:when> |
696 |
<xsl:otherwise> | </xsl:otherwise> |
721 |
<xsl:otherwise> | </xsl:otherwise> |
Lines 1835-1840
Link Here
|
1835 |
<xsl:with-param name="authid"><xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:with-param> |
1860 |
<xsl:with-param name="authid"><xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:with-param> |
1836 |
</xsl:call-template> |
1861 |
</xsl:call-template> |
1837 |
</xsl:if> |
1862 |
</xsl:if> |
|
|
1863 |
|
1864 |
<!-- add link to external data like wikidata, viaf... --> |
1865 |
<xsl:if test="(marc:subfield[@code='1'])"> |
1866 |
<xsl:for-each select="marc:subfield[@code='1']"> |
1867 |
<span class="linkeddata"> |
1868 |
<xsl:text> [</xsl:text> |
1869 |
<a> |
1870 |
<xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute> |
1871 |
<xsl:attribute name="target">_blank</xsl:attribute> |
1872 |
<xsl:choose> |
1873 |
<xsl:when test="contains(.,'wikidata')"> |
1874 |
<xsl:text>Wikidata</xsl:text> |
1875 |
</xsl:when> |
1876 |
<xsl:when test="contains(.,'viaf')"> |
1877 |
<xsl:text>VIAF</xsl:text> |
1878 |
</xsl:when> |
1879 |
<xsl:otherwise> |
1880 |
<xsl:value-of select="."/> |
1881 |
</xsl:otherwise> |
1882 |
</xsl:choose> |
1883 |
</a> |
1884 |
<xsl:text>]</xsl:text> |
1885 |
</span> |
1886 |
</xsl:for-each> |
1887 |
</xsl:if> |
1888 |
|
1838 |
<xsl:choose> |
1889 |
<xsl:choose> |
1839 |
<xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> |
1890 |
<xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> |
1840 |
</xsl:choose> |
1891 |
</xsl:choose> |