Lines 927-940
Link Here
|
927 |
<xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable> |
927 |
<xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable> |
928 |
<a> |
928 |
<a> |
929 |
<xsl:attribute name="href"> |
929 |
<xsl:attribute name="href"> |
930 |
<xsl:if test="not(contains(marc:subfield[@code='u'],'://'))"> |
930 |
<xsl:if test="not(contains(marc:subfield[@code='u'],'://') or contains(marc:subfield[@code='u'],'mailto:'))"> |
931 |
<xsl:choose> |
931 |
<xsl:choose> |
932 |
<xsl:when test="@ind1=7"> |
932 |
<xsl:when test="@ind1=7"> |
933 |
<xsl:value-of select="marc:subfield[@code='2']"/><xsl:text>://</xsl:text> |
933 |
<xsl:value-of select="marc:subfield[@code='2']"/><xsl:text>://</xsl:text> |
934 |
</xsl:when> |
934 |
</xsl:when> |
|
|
935 |
<xsl:when test="@ind1=0"> |
936 |
<xsl:text>mailto:</xsl:text> |
937 |
</xsl:when> |
935 |
<xsl:when test="@ind1=1"> |
938 |
<xsl:when test="@ind1=1"> |
936 |
<xsl:text>ftp://</xsl:text> |
939 |
<xsl:text>ftp://</xsl:text> |
937 |
</xsl:when> |
940 |
</xsl:when> |
|
|
941 |
<xsl:when test="@ind1=2"> |
942 |
<xsl:text>telnet://</xsl:text> |
943 |
</xsl:when> |
944 |
<xsl:when test="@ind1=3"> |
945 |
<xsl:text>tel:</xsl:text> |
946 |
</xsl:when> |
938 |
<xsl:otherwise> |
947 |
<xsl:otherwise> |
939 |
<xsl:text>http://</xsl:text> |
948 |
<xsl:text>http://</xsl:text> |
940 |
</xsl:otherwise> |
949 |
</xsl:otherwise> |