From: Adam Dickmeiss Date: Thu, 28 Feb 2013 12:51:53 +0000 (+0100) Subject: Simplify XSLs by using new pz:metadata attribute 'empty'. X-Git-Tag: v1.6.26~7 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=579b3142b890d13a8524c0fb847081b632fc25ac;p=pazpar2-moved-to-github.git Simplify XSLs by using new pz:metadata attribute 'empty'. --- diff --git a/etc/cf.xsl b/etc/cf.xsl index 324cdda..49c2a1a 100644 --- a/etc/cf.xsl +++ b/etc/cf.xsl @@ -76,37 +76,17 @@ --> - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + diff --git a/etc/opac.xsl b/etc/opac.xsl index e4c5457..dd5c789 100644 --- a/etc/opac.xsl +++ b/etc/opac.xsl @@ -15,44 +15,23 @@ - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - + Available - - - - - PAZPAR2_NULL_VALUE - - - PAZPAR2_NULL_VALUE + + diff --git a/etc/opac_turbomarc.xsl b/etc/opac_turbomarc.xsl index 83d2319..98f33b7 100644 --- a/etc/opac_turbomarc.xsl +++ b/etc/opac_turbomarc.xsl @@ -15,44 +15,23 @@ - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - + Available - - - - - PAZPAR2_NULL_VALUE - - - PAZPAR2_NULL_VALUE + + diff --git a/etc/tmarc.xsl b/etc/tmarc.xsl index c8eb90c..3d21381 100644 --- a/etc/tmarc.xsl +++ b/etc/tmarc.xsl @@ -619,7 +619,7 @@ - + @@ -745,69 +745,36 @@ - - - - - PAZPAR2_NULL_VALUE - + + - - - - - PAZPAR2_NULL_VALUE - + + - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - - - - - - PAZPAR2_NULL_VALUE - + + - + Available - - - - - - PAZPAR2_NULL_VALUE - - - PAZPAR2_NULL_VALUE - - + + + + +