From: Adam Dickmeiss Date: Tue, 5 May 2009 10:25:15 +0000 (+0200) Subject: Move openurl stuff to marc21-ourl.xsl. Hookin marc21.xsl. X-Git-Tag: v1.1.0~25 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8620c6720a870accef9edded421382d303ead104;p=pazpar2-moved-to-github.git 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. --- 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 @@ - - - - - + + + + + + +