|
Lines 3-16
Link Here
|
| 3 |
<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> |
3 |
<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> |
| 4 |
<xsl:stylesheet version="1.0" |
4 |
<xsl:stylesheet version="1.0" |
| 5 |
xmlns:marc="http://www.loc.gov/MARC21/slim" |
5 |
xmlns:marc="http://www.loc.gov/MARC21/slim" |
| 6 |
xmlns:items="http://www.koha-community.org/items" |
|
|
| 7 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
6 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 8 |
xmlns:str="http://exslt.org/strings" |
7 |
xmlns:str="http://exslt.org/strings" |
| 9 |
exclude-result-prefixes="marc items str"> |
8 |
exclude-result-prefixes="marc str"> |
| 10 |
<xsl:import href="MARC21slimUtils.xsl"/> |
9 |
<xsl:import href="MARC21slimUtils.xsl"/> |
| 11 |
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/> |
10 |
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/> |
| 12 |
<xsl:key name="item-by-status" match="items:item" use="items:status"/> |
|
|
| 13 |
<xsl:key name="item-by-status-and-branch" match="items:item" use="concat(items:status, ' ', items:homebranch)"/> |
| 14 |
|
11 |
|
| 15 |
<xsl:template match="/"> |
12 |
<xsl:template match="/"> |
| 16 |
<xsl:apply-templates/> |
13 |
<xsl:apply-templates/> |
|
Lines 20-26
Link Here
|
| 20 |
<!-- Option: Display Alternate Graphic Representation (MARC 880) --> |
17 |
<!-- Option: Display Alternate Graphic Representation (MARC 880) --> |
| 21 |
<xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/> |
18 |
<xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/> |
| 22 |
|
19 |
|
| 23 |
<xsl:variable name="hidelostitems" select="marc:sysprefs/marc:syspref[@name='hidelostitems']"/> |
|
|
| 24 |
<xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/> |
20 |
<xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/> |
| 25 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/> |
21 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/> |
| 26 |
<xsl:variable name="AlternateHoldingsField" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 1, 3)"/> |
22 |
<xsl:variable name="AlternateHoldingsField" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 1, 3)"/> |