From: Mike Taylor Date: Tue, 7 Feb 2012 10:58:07 +0000 (+0000) Subject: Halve the length of cf.xsl by removing 27(!) redundant special-case X-Git-Tag: v1.6.10~8^2^2~4 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;ds=sidebyside;h=505487e674e220ab84e8aa11982ca065e91259c7;p=pazpar2-moved-to-github.git Halve the length of cf.xsl by removing 27(!) redundant special-case templates, all of which are covered by the fallback template that Jakub added in the commit f9db8c65f2912035dee49a7d20abb82a0cf48bd3 back in November. I have verified by regression-testing on a dummied-up full CF record that this stylesheet has exactly the same effect. Should be negligibly faster, but more importantly easier to maintain. --- diff --git a/etc/cf.xsl b/etc/cf.xsl index 4742628..324cdda 100644 --- a/etc/cf.xsl +++ b/etc/cf.xsl @@ -62,72 +62,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -