From: Mike Taylor Date: Thu, 10 Nov 2011 11:13:08 +0000 (+0000) Subject: Changes to better support possible outputs of the Connector Framework. X-Git-Tag: mobile-beta-1^2~1^2~1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=bec404ea3cbd66b79f5c2eda1e7b6cf99f099a93;p=pazpar2-moved-to-github.git Changes to better support possible outputs of the Connector Framework. * New, trivial, templates to handle thirteen additional elements: available, citation, relevance, booktitle, copyright, copyrightabstract, pubtype, doctype, extent, format, languageitem, languageabstract and permalink. * Comment on how the "medium" field is ignored in favour of an XSLT parameter. * Comment on the "holding" element which seems to be a synony, of the "item" container. We now have *a lot* of near-identical tiny templates for handling individual fields, each mapping the CF's data VALUE to PazPar2's equivalent VALUE Should these all be replaced be a single general-puspose rule? That would also mean that we'd no longer need to update this stylesheet each time parseTask.cff changes. --- diff --git a/etc/cf.xsl b/etc/cf.xsl index ed42c20..49eb5e0 100644 --- a/etc/cf.xsl +++ b/etc/cf.xsl @@ -16,6 +16,13 @@ + + @@ -121,6 +128,13 @@ + + @@ -192,23 +206,83 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +