[Patches] [PATCH] Bug 5565 Default OAI UNIMARC to Dublin Core XSL adds

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Wed Dec 21 03:12:43 NZDT 2011


From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians at tamil.fr>
Date: Fri, 31 Dec 2010 07:32:41 +0100
Subject: [PATCH] Bug 5565 Default OAI UNIMARC to Dublin Core XSL adds
 superfluous blanks

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
---
 .../prog/en/xslt/UNIMARCslim2OAIDC.xsl             |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl
index 4c69044..c91cf74 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl
+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl
@@ -48,7 +48,8 @@
 		<xsl:for-each select="marc:datafield[@tag=700]|marc:datafield[@tag=701]|marc:datafield[@tag=702]|marc:datafield[@tag=710]|marc:datafield[@tag=711]|marc:datafield[@tag=712]">
 	      <dc:creator>
     	    <xsl:value-of select="marc:subfield[@code='a']"/>
-    		<xsl:if test="marc:subfield[@code='b']">,
+		<xsl:if test="marc:subfield[@code='b']">
+               <xsl:text>, </xsl:text>
     		   <xsl:value-of select="marc:subfield[@code='b']"/>
     		</xsl:if>
 			<xsl:choose>
-- 
1.7.5.4


More information about the Patches mailing list