Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi 0be1dce1f7 Bug 6681: introduce XSLT scripts to remove items and links
This patch adds the following sample files:

- Del952.xsl
- Del995.xsl
- Del9LinksExcept952.xsl
- Del9LinksExcept995.xsl

Thay can be used on the new SRU/Z39.50 XSLT processing feature. At the same
time they can be used to solve this bug.

To test:
- Have an SRU/Z39.50 target configured
- Have a search that returns at least a record with the following
  properties:
  * It contains $9 links
  * It contains items (952 or 995 fields in MARC21/NORMARC and UNIMARC respectively).

MARC21/NORMARC test:
- Do a Z39.50/SRU cataloguing search that retrieves the desired record
- Verify it includes $9 and 952 field(s) by clicking on the MARC link
- Edit your Z39.50 target and add Del952.xsl to the "XSLT File(s) for transforming results:" field
- Re-run the search
=> SUCCESS: the MARC view of the imported record doesn't contain the 952 field
- Edit your Z39.50 target and add Del9LinksExcept952.xsl to the "XSLT File(s) for transforming results:" field
- Re-run the search
=> SUCCESS: the MARC view contains the 952 field (including the $9 subfield), and
            all other $9 subfields have been removed
- Edit your Z39.50 target and add
  Del952.xsl, Del9LinksExcept952.xsl
  to the "XSLT File(s) for transforming results:" field (both, comma separated)
- Re-run the search
=> SUCCESS: the MARC view doesn't contain $9 subfields nor items.

- Repeat for UNIMARC, replacing 952 for 995.
- Sign off :-D

Regards
Tomas

Sponsored-by: Universidad Nacional de Cordoba

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested under MARC21. Works fine. (Additionally verified 995 with xsltproc.)
As noted on Bugzilla, we could still improve documentation but imo no need
to block these example transformations.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
I can't resist to put my own signature on this patch, confirming it works as
described with z39.50 Unimarc targets.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-14 09:31:36 -03:00
acqui Bug 12979: Fix error on layout3pagesfr 2014-11-07 15:03:36 -03:00
admin Bug 9043: Syspref improvement: add new type "multiple" 2014-11-10 12:25:12 -03:00
authorities
basket
C4 Bug 11319: [QA follow-up] Remove a warning from GetModificationTemplates 2014-11-12 12:04:29 -03:00
catalogue Bug 13225: Z39.50 result Card View doesn't work for UNIMARC 2014-11-10 11:59:48 -03:00
cataloguing Bug 13203: Plugin housekeeping: UNIMARC field 123i, 123j, 210c 2014-11-11 14:10:34 -03:00
circ Bug 12692 - Markup improvements to holds awaiting pickup report 2014-11-10 12:22:13 -03:00
course_reserves
debian Bug 12234 - dependency updates for master 2014-11-11 09:43:03 -03:00
docs
errors
etc Bug 13163: NORMARC DOM config missing <id> entry 2014-10-31 16:45:04 -03:00
install_misc
installer Bug 11634: DBRev 3.17.00.054 2014-11-12 11:29:01 -03:00
Koha Bug 11634 [QA Followup] - Make unit tests pass 2014-11-12 14:56:41 -03:00
koha-tmpl Bug 6681: introduce XSLT scripts to remove items and links 2014-11-14 09:31:36 -03:00
labels Bug 11614: Untranslatable label_element_title in label management 2014-08-19 09:42:42 -03:00
members
misc Bug 8218: qa followup 2014-11-11 15:39:05 -03:00
offline_circ
opac Bug 13116 [QA Followup] - Remove tabs, use unless instead of if 2014-11-12 11:23:45 -03:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 13141: Add ability for biblio_framework to be a dropdown in Guided Reports 2014-10-31 13:14:59 -03:00
reserve Bug 13116 [QA Followup] - Remove tabs, use unless instead of if 2014-11-12 11:23:45 -03:00
reviews
rotating_collections Bug 8836 [QA Followup] - Sort transfer branches alphabetically 2014-11-06 15:12:20 -03:00
selenium
serials
services
skel
sms
suggestion Bug 12627: Fix default values 2014-11-07 15:17:10 -03:00
svc Bug 9043: Syspref improvement: add new type "multiple" 2014-11-10 12:25:12 -03:00
t Bug 11634 [QA Followup] - Make unit tests pass 2014-11-12 14:56:41 -03:00
tags
test
tmp/modified_authorities
tools Bug 7673: Assume that all fields can be edited if the pref is empty 2014-11-11 12:27:23 -03:00
virtualshelves
xt Bug 12653: (RM followup) Fix the test count 2014-10-29 20:43:52 -03:00
.editorconfig
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap
about.pl
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu Bug 7764: (follow-up) editorial tweaks 2013-10-04 16:27:55 +00:00
koha_perl_deps.pl
kohaversion.pl Bug 11634: DBRev 3.17.00.054 2014-11-12 11:29:01 -03:00
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
README
README.robots
rewrite-config.PL

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/