Lines 20-26
Link Here
|
20 |
<!-- Option: Display Alternate Graphic Representation (MARC 880) --> |
20 |
<!-- Option: Display Alternate Graphic Representation (MARC 880) --> |
21 |
<xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/> |
21 |
<xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/> |
22 |
|
22 |
|
23 |
<xsl:variable name="OPACResultsBranchXSLT" select="marc:sysprefs/marc:syspref[@name='OPACResultsBranchXSLT']"/> |
23 |
<xsl:variable name="OPACResultsBranch" select="marc:sysprefs/marc:syspref[@name='OPACResultsBranch']"/> |
24 |
<xsl:variable name="hidelostitems" select="marc:sysprefs/marc:syspref[@name='hidelostitems']"/> |
24 |
<xsl:variable name="hidelostitems" select="marc:sysprefs/marc:syspref[@name='hidelostitems']"/> |
25 |
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/> |
25 |
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/> |
26 |
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/> |
26 |
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/> |
Lines 1040-1046
Link Here
|
1040 |
</xsl:when> |
1040 |
</xsl:when> |
1041 |
<xsl:otherwise> |
1041 |
<xsl:otherwise> |
1042 |
<xsl:choose> |
1042 |
<xsl:choose> |
1043 |
<xsl:when test="$OPACResultsBranchXSLT='homebranch'"> |
1043 |
<xsl:when test="$OPACResultsBranch='homebranch'"> |
1044 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1044 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1045 |
<xsl:value-of select="items:homebranch"/> |
1045 |
<xsl:value-of select="items:homebranch"/> |
1046 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1046 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
Lines 1050-1056
Link Here
|
1050 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1050 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1051 |
</xsl:for-each> |
1051 |
</xsl:for-each> |
1052 |
</xsl:when> |
1052 |
</xsl:when> |
1053 |
<xsl:when test="$OPACResultsBranchXSLT='holdingbranch'"> |
1053 |
<xsl:when test="$OPACResultsBranch='holdingbranch'"> |
1054 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1054 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1055 |
<xsl:value-of select="items:holdingbranch"/> |
1055 |
<xsl:value-of select="items:holdingbranch"/> |
1056 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1056 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
Lines 1081-1087
Link Here
|
1081 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1081 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1082 |
|
1082 |
|
1083 |
<xsl:choose> |
1083 |
<xsl:choose> |
1084 |
<xsl:when test="$OPACResultsBranchXSLT='homebranch'"> |
1084 |
<xsl:when test="$OPACResultsBranch='homebranch'"> |
1085 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1085 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1086 |
<xsl:value-of select="items:homebranch"/> |
1086 |
<xsl:value-of select="items:homebranch"/> |
1087 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1087 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
Lines 1091-1097
Link Here
|
1091 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1091 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1092 |
</xsl:for-each> |
1092 |
</xsl:for-each> |
1093 |
</xsl:when> |
1093 |
</xsl:when> |
1094 |
<xsl:when test="$OPACResultsBranchXSLT='holdingbranch'"> |
1094 |
<xsl:when test="$OPACResultsBranch='holdingbranch'"> |
1095 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1095 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-holding', concat(items:status, ' ', items:holdingbranch))[1])]"> |
1096 |
<xsl:value-of select="items:holdingbranch"/> |
1096 |
<xsl:value-of select="items:holdingbranch"/> |
1097 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1097 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |