Would you mind terribly updating Open-ILS/src/sql/Pg/954.data.MODS33-xsl.sql as well, so that in-database XML processing (work underway, as you know) will have the same behavior as open-ils.supercat and open-ils.ingest?
TIA --miker On Sat, Mar 14, 2009 at 10:54 AM, <[email protected]> wrote: > Author: dbs > Date: 2009-03-14 10:54:42 -0400 (Sat, 14 Mar 2009) > New Revision: 12520 > > Modified: > trunk/Open-ILS/xsl/MARC21slim2MODS33.xsl > Log: > Check in revision 1.27 of MARC21slim2MODS33.xsl (for 648 -> <subject> mapping) > Note: 242$i change was not mentioned in MODS mapping revision notes; was this > a local Evergreen customization? > > > Modified: trunk/Open-ILS/xsl/MARC21slim2MODS33.xsl > =================================================================== > --- trunk/Open-ILS/xsl/MARC21slim2MODS33.xsl 2009-03-14 04:45:41 UTC (rev > 12519) > +++ trunk/Open-ILS/xsl/MARC21slim2MODS33.xsl 2009-03-14 14:54:42 UTC (rev > 12520) > @@ -4,10 +4,8 @@ > <xsl:include href="MARC21slimUtils.xsl"/> > <xsl:output encoding="UTF-8" indent="yes" method="xml"/> > > - <!-- > -MARC21slim2MODS3-3.xsl > -2008/10/16 > - > + <!--MARC21slim2MODS3-3.xsl > +Revision 1.27 - Mapped 648 to <subject> 2009/03/13 tmee > Revision 1.26 - Added subfield $s mapping for 130/240/730 2008/10/16 tmee > Revision 1.25 - Mapped 040e to <descriptiveStandard> and Leader/18 to > <descriptive standard>aacr2 2008/09/18 tmee > Revision 1.24 - Mapped 852 subfields $h, $i, $j, $k, $l, $m, $t to > <shelfLocation> and 852 subfield $u to <physicalLocation> with @xlink > 2008/09/17 tmee > @@ -32,7 +30,6 @@ > Revision 1.5 - MODS2 to MODS3 updates, language unstacking and de-duping, > chopPunctuation expanded 2003/10/02 16:18:58 ntra > Revision 1.3 - Additional Changes not related to MODS Version 2.0 by ntra > Revision 1.2 - Added Log Comment 2003/03/24 19:37:42 ckeith > - > --> > <xsl:template match="/"> > <xsl:choose> > @@ -156,6 +153,11 @@ > <xsl:value-of select="text()"/> > </xsl:attribute> > </xsl:for-each> > + <xsl:for-each > select="marc:subfie...@code='i']"> > + <xsl:attribute name="displayLabel"> > + <xsl:value-of > select="text()"/> > + </xsl:attribute> > + </xsl:for-each> > <title> > <xsl:call-template > name="chopPunctuation"> > <xsl:with-param > name="chopString"> > @@ -1492,10 +1494,6 @@ > </note> > </xsl:for-each> > > - > - > - > - > <xsl:for-each > select="marc:datafie...@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 @@ > <xsl:call-template name="subjectAnyOrder"/> > </subject> > </xsl:template> > + <!-- 1.27 648 tmee--> > + <xsl:template match="marc:datafie...@tag=648]"> > + <subject> > + <xsl:if test="marc:subfie...@code=2]"> > + <xsl:attribute name="authority"> > + <xsl:value-of > select="marc:subfie...@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:datafie...@tag=650]"> > <subject> > <xsl:call-template name="subjectAuthority"/> > > _______________________________________________ > open-ils-commits mailing list > [email protected] > http://list.georgialibraries.org/mailman/listinfo/open-ils-commits > -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [email protected] | web: http://www.esilibrary.com
