From bec404ea3cbd66b79f5c2eda1e7b6cf99f099a93 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 10 Nov 2011 11:13:08 +0000 Subject: [PATCH] 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. --- etc/cf.xsl | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 91 insertions(+), 17 deletions(-) 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 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 1.7.10.4