From: dbs Date: Sat, 14 Mar 2009 14:54:42 +0000 (+0000) Subject: Check in revision 1.27 of MARC21slim2MODS33.xsl (for 648 -> mapping) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8d58d3d8a4560b3316cba3b288cab104ac555a02;p=evergreen%2Ftadl.git Check in revision 1.27 of MARC21slim2MODS33.xsl (for 648 -> mapping) Note: 242$i change was not mentioned in MODS mapping revision notes; was this a local Evergreen customization? git-svn-id: svn://svn.open-ils.org/ILS/trunk@12520 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xsl/MARC21slim2MODS33.xsl b/Open-ILS/xsl/MARC21slim2MODS33.xsl index f4ef892aea..8f67a6f062 100644 --- a/Open-ILS/xsl/MARC21slim2MODS33.xsl +++ b/Open-ILS/xsl/MARC21slim2MODS33.xsl @@ -4,10 +4,8 @@ - @@ -156,6 +153,11 @@ Revision 1.2 - Added Log Comment 2003/03/24 19:37:42 ckeith + + + + + <xsl:call-template name="chopPunctuation"> <xsl:with-param name="chopString"> @@ -1492,10 +1494,6 @@ Revision 1.2 - Added Log Comment 2003/03/24 19:37:42 ckeith </note> </xsl:for-each> - - - - <xsl:for-each select="marc:datafield[@tag=501 or @tag=502 or @tag=504 or @tag=507 or @tag=508 or @tag=513 or @tag=514 or @tag=515 or @tag=516 or @tag=522 or @tag=524 or @tag=525 or @tag=526 or @tag=535 or @tag=536 or @tag=540 or @tag=541 or @tag=544 or @tag=545 or @tag=546 or @tag=547 or @tag=550 or @tag=552 or @tag=555 or @tag=556 or @tag=561 or @tag=562 or @tag=565 or @tag=567 or @tag=580 or @tag=581 or @tag=584 or @tag=585 or @tag=586]"> <note> @@ -2929,6 +2927,30 @@ Revision 1.2 - Added Log Comment 2003/03/24 19:37:42 ckeith <xsl:call-template name="subjectAnyOrder"/> </subject> </xsl:template> + <!-- 1.27 648 tmee--> + <xsl:template match="marc:datafield[@tag=648]"> + <subject> + <xsl:if test="marc:subfield[@code=2]"> + <xsl:attribute name="authority"> + <xsl:value-of select="marc:subfield[@code=2]"/> + </xsl:attribute> + </xsl:if> + <xsl:call-template name="uri"/> + + <xsl:call-template name="subjectAuthority"/> + <temporal> + <xsl:call-template name="chopPunctuation"> + <xsl:with-param name="chopString"> + <xsl:call-template name="subfieldSelect"> + <xsl:with-param name="codes">abcd</xsl:with-param> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </temporal> + <xsl:call-template name="subjectAnyOrder"/> + + </subject> + </xsl:template> <xsl:template match="marc:datafield[@tag=650]"> <subject> <xsl:call-template name="subjectAuthority"/>