From 8620c6720a870accef9edded421382d303ead104 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 5 May 2009 12:25:15 +0200 Subject: [PATCH] Move openurl stuff to marc21-ourl.xsl. Hookin marc21.xsl. The marc21.xsl now has a template record-hook which allows marc21.xsl to be imported and record-hook to override stuff. The marc21-ourl.xsl uses this facility and includes the pz2-ourl-marc21-xsl. --- etc/marc21-ourl.xsl | 23 +++++++++++++++++++++++ etc/marc21.xsl | 17 +++++++++-------- 2 files changed, 32 insertions(+), 8 deletions(-) create mode 100644 etc/marc21-ourl.xsl diff --git a/etc/marc21-ourl.xsl b/etc/marc21-ourl.xsl new file mode 100644 index 0000000..804c153 --- /dev/null +++ b/etc/marc21-ourl.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + Our hook + + + + + + + + diff --git a/etc/marc21.xsl b/etc/marc21.xsl index d90647f..22710d2 100644 --- a/etc/marc21.xsl +++ b/etc/marc21.xsl @@ -4,15 +4,14 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pz="http://www.indexdata.com/pazpar2/1.0" xmlns:marc="http://www.loc.gov/MARC21/slim"> - - - + + @@ -306,11 +305,13 @@ - - - - - + + + + + + + -- 1.7.10.4