Bugzilla – Attachment 39878 Details for
Bug 13383
RDA: 100/110/111 changes to XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Attachment to Bug 13383 - RDA: 100/110/111 changes to XSLT
Bug-13383---RDA-100110111-changes-to-XSLT.patch (text/plain), 25.60 KB, created by
Winona Salesky
on 2015-06-05 02:35:10 UTC
(
hide
)
Description:
Attachment to Bug 13383 - RDA: 100/110/111 changes to XSLT
Filename:
MIME Type:
Creator:
Winona Salesky
Created:
2015-06-05 02:35:10 UTC
Size:
25.60 KB
patch
obsolete
>From ced810c02187a09d9604509911571f12a5706dec Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Thu, 4 Jun 2015 22:30:49 -0400 >Subject: [PATCH] Bug 13383 - RDA: 100/110/111 changes to XSLT > >Test plan: >1) Apply this patch >2) Ensure you are using the default XSLT setting for the staff and opac search results and record details >3) Find or create a record with MARC tags 100,110,111 >4) Perform an opac search that would show the record in the search results. >5) Click title to review record. >6) Note the fields updates 100,110,111 to show subfields a,b,c,d,q and t.Multiple fields are separated by span class=separator |. Includes 100$j and handles multiple relator terms/codes. >7) Repeat steps 4 - 6 for the staff interface >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 84 ++++++++++---- > .../prog/en/xslt/MARC21slim2intranetResults.xsl | 128 +++++++++++++-------- > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 55 +++++++-- > .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 113 ++++++++++-------- > 4 files changed, 247 insertions(+), 133 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index d077e35..44b409e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -1122,7 +1122,8 @@ > <xsl:for-each select="$authorfield"> > <xsl:choose> > <xsl:when test="position()>1"/> >- <xsl:when test="@tag<700">Author(s): </xsl:when> >+ <!-- #13383 --> >+ <xsl:when test="@tag<700">By: </xsl:when> > <!--#13382 Changed Additional author to contributor --> > <xsl:otherwise>Contributor(s): </xsl:otherwise> > </xsl:choose> >@@ -1136,9 +1137,25 @@ > </xsl:otherwise> > </xsl:choose> > <xsl:choose> >- <xsl:when test="@tag=100"><xsl:call-template name="nameABCQ"/></xsl:when> >- <xsl:when test="@tag=110"><xsl:call-template name="nameABCDN"/></xsl:when> >- <xsl:when test="@tag=111"><xsl:call-template name="nameACDEQ"/></xsl:when> >+ <xsl:when test="@tag=100 or @tag=110 or @tag=111"> >+ <!-- #13383 --> >+ <xsl:call-template name="chopPunctuation"> >+ <xsl:with-param name="chopString"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes"> >+ <xsl:choose> >+ <!-- #13383 include subfield e for field 111 --> >+ <xsl:when test="@tag=111">abcdeqt</xsl:when> >+ <xsl:otherwise>abcdjqt</xsl:otherwise> >+ </xsl:choose> >+ </xsl:with-param> >+ </xsl:call-template> >+ </xsl:with-param> >+ <xsl:with-param name="punctuation"> >+ <xsl:text>:,;/ </xsl:text> >+ </xsl:with-param> >+ </xsl:call-template> >+ </xsl:when> > <!-- #13382 excludes 700$i and ind2=2, displayed as Related Works --> > <!--#13382 Added all relevant subfields 4, e, are handled separately --> > <xsl:when test="@tag=700 or @tag=710 or @tag=711"> >@@ -1159,26 +1176,45 @@ > </xsl:choose> > > <!-- add relator code too between brackets--> >- <xsl:if test="marc:subfield[@code='4' or @code='e']"> >- <span class="relatorcode"> >- <xsl:text> [</xsl:text> >- <xsl:choose> >- <xsl:when test="marc:subfield[@code='e']"> >- <xsl:for-each select="marc:subfield[@code='e']"> >- <xsl:value-of select="."/> >- <xsl:if test="position() != last()">, </xsl:if> >- </xsl:for-each> >- </xsl:when> >- <xsl:otherwise> >- <xsl:for-each select="marc:subfield[@code=4]"> >- <xsl:value-of select="."/> >- <xsl:if test="position() != last()">, </xsl:if> >- </xsl:for-each> >- </xsl:otherwise> >- </xsl:choose> >- <xsl:text>]</xsl:text> >- </span> >- </xsl:if> >+ <!-- #13383 include relator code j for field 111 --> >+ <xsl:if test="marc:subfield[@code='4' or @code='e'][not(parent::*[@tag=111])] or (self::*[@tag=111] and marc:subfield[@code='4' or @code='j'][. != ''])"> >+ <span class="relatorcode"> >+ <xsl:text> [</xsl:text> >+ <xsl:choose> >+ <xsl:when test="@tag=111"> >+ <xsl:choose> >+ <!-- Prefer j over 4 --> >+ <xsl:when test="marc:subfield[@code='j']"> >+ <xsl:for-each select="marc:subfield[@code='j']"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:for-each select="marc:subfield[@code=4]"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:otherwise> >+ </xsl:choose> >+ </xsl:when> >+ <!-- Prefer e over 4 --> >+ <xsl:when test="marc:subfield[@code='e']"> >+ <xsl:for-each select="marc:subfield[@code='e']"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:for-each select="marc:subfield[@code=4]"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:otherwise> >+ </xsl:choose> >+ <xsl:text>]</xsl:text> >+ </span> >+ </xsl:if> > </a> > <xsl:choose> > <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index 1f82eff..5ead6db 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -339,57 +339,83 @@ > <xsl:choose> > <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]"> > <p class="author">by >- <xsl:for-each select="marc:datafield[(@tag=100 or @tag=700) and @ind1!='z']"> >- <a> >- <xsl:choose> >- <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >- </xsl:when> >- <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> >- </xsl:otherwise> >- </xsl:choose> >- <xsl:call-template name="nameABCQ"/></a> >- <xsl:choose> >- <xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >- </xsl:for-each> >- >- <xsl:for-each select="marc:datafield[(@tag=110 or @tag=710) and @ind1!='z']"> >- <a> >- <xsl:choose> >- <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >- </xsl:when> >- <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> >- </xsl:otherwise> >- </xsl:choose> >- <xsl:call-template name="nameABCDN"/></a> >- <xsl:choose><xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >- </xsl:for-each> >- >- <xsl:for-each select="marc:datafield[(@tag=111 or @tag=711) and @ind1!='z']"> >- <xsl:choose> >- <xsl:when test="marc:subfield[@code='n']"> >- <xsl:text> </xsl:text> >- <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">n</xsl:with-param> </xsl:call-template> >- <xsl:text> </xsl:text> >- </xsl:when> >- </xsl:choose> >- <a> >- <xsl:choose> >- <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >- </xsl:when> >- <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> >- </xsl:otherwise> >- </xsl:choose> >- <xsl:call-template name="nameACDEQ"/></a> >- <xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >- >- </xsl:for-each> >+ <!-- #13383 --> >+ <xsl:for-each select="marc:datafield[(@tag=100 or @tag=700 or @tag=110 or @tag=710 or @tag=111 or @tag=711) and @ind1!='z']"> >+ <xsl:if test="@tag=111 or @tag=711 and marc:subfield[@code='n']"> >+ <xsl:text> </xsl:text> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">n</xsl:with-param> >+ </xsl:call-template> >+ <xsl:text> </xsl:text> >+ </xsl:if> >+ <a> >+ <xsl:choose> >+ <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> >+ </xsl:otherwise> >+ </xsl:choose> >+ <xsl:call-template name="chopPunctuation"> >+ <xsl:with-param name="chopString"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes"> >+ <xsl:choose> >+ <!-- #13383 include subfield e for field 111 --> >+ <xsl:when test="@tag=111">abcdeqt</xsl:when> >+ <xsl:otherwise>abcdjqt</xsl:otherwise> >+ </xsl:choose> >+ </xsl:with-param> >+ </xsl:call-template> >+ </xsl:with-param> >+ <xsl:with-param name="punctuation"> >+ <xsl:text>:,;/ </xsl:text> >+ </xsl:with-param> >+ </xsl:call-template> >+ </a> >+ <xsl:if test="marc:subfield[@code='4' or @code='e'][not(parent::*[@tag=111])] or (self::*[@tag=111] and marc:subfield[@code='4' or @code='j'][. != ''])"> >+ <span class="relatorcode"> >+ <xsl:text> [</xsl:text> >+ <xsl:choose> >+ <xsl:when test="@tag=111"> >+ <xsl:choose> >+ <!-- Prefer j over 4 --> >+ <xsl:when test="marc:subfield[@code='j']"> >+ <xsl:for-each select="marc:subfield[@code='j']"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:for-each select="marc:subfield[@code=4]"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:otherwise> >+ </xsl:choose> >+ </xsl:when> >+ <!-- Prefer e over 4 --> >+ <xsl:when test="marc:subfield[@code='e']"> >+ <xsl:for-each select="marc:subfield[@code='e']"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:for-each select="marc:subfield[@code=4]"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:otherwise> >+ </xsl:choose> >+ <xsl:text>]</xsl:text> >+ </span> >+ </xsl:if> >+ <xsl:choose> >+ <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> >+ </xsl:choose> >+ </xsl:for-each> > </p> > </xsl:when> > </xsl:choose> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 8b7d559..c7b73bc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -1188,7 +1188,8 @@ > <xsl:for-each select="$authorfield"> > <xsl:choose> > <xsl:when test="position()>1"/> >- <xsl:when test="@tag<700">Author(s): </xsl:when> >+ <!-- #13383 --> >+ <xsl:when test="@tag<700">By: </xsl:when> > <!--#13382 Changed Additional author to contributor --> > <xsl:otherwise>Contributor(s): </xsl:otherwise> > </xsl:choose> >@@ -1232,9 +1233,25 @@ > </xsl:choose> > <span property="name"> > <xsl:choose> >- <xsl:when test="@tag=100"><xsl:call-template name="nameABCQ"/></xsl:when> >- <xsl:when test="@tag=110"><xsl:call-template name="nameABCDN"/></xsl:when> >- <xsl:when test="@tag=111"><xsl:call-template name="nameACDEQ"/></xsl:when> >+ <xsl:when test="@tag=100 or @tag=110 or @tag=111"> >+ <!-- #13383 --> >+ <xsl:call-template name="chopPunctuation"> >+ <xsl:with-param name="chopString"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes"> >+ <xsl:choose> >+ <!-- #13383 include subfield e for field 111 --> >+ <xsl:when test="@tag=111">abcdeqt</xsl:when> >+ <xsl:otherwise>abcdjqt</xsl:otherwise> >+ </xsl:choose> >+ </xsl:with-param> >+ </xsl:call-template> >+ </xsl:with-param> >+ <xsl:with-param name="punctuation"> >+ <xsl:text>:,;/ </xsl:text> >+ </xsl:with-param> >+ </xsl:call-template> >+ </xsl:when> > <!-- #13382 excludes 700$i and ind2=2, displayed as Related Works --> > <!--#13382 Added all relevant subfields 4, e, are handled separately --> > <xsl:when test="@tag=700 or @tag=710 or @tag=711"> >@@ -1254,11 +1271,29 @@ > </xsl:when> > </xsl:choose> > </span></span></span> >- <!-- add relator code too between brackets--> >- <xsl:if test="marc:subfield[@code='4' or @code='e']"> >+ <!-- #13383 include relator code j for field 111 --> >+ <xsl:if test="marc:subfield[@code='4' or @code='e'][not(parent::*[@tag=111])] or (self::*[@tag=111] and marc:subfield[@code='4' or @code='j'][. != ''])"> > <span class="relatorcode"> > <xsl:text> [</xsl:text> > <xsl:choose> >+ <xsl:when test="@tag=111"> >+ <xsl:choose> >+ <!-- Prefer j over 4 --> >+ <xsl:when test="marc:subfield[@code='j']"> >+ <xsl:for-each select="marc:subfield[@code='j']"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:for-each select="marc:subfield[@code=4]"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:otherwise> >+ </xsl:choose> >+ </xsl:when> >+ <!-- Prefer e over 4 --> > <xsl:when test="marc:subfield[@code='e']"> > <xsl:for-each select="marc:subfield[@code='e']"> > <xsl:value-of select="."/> >@@ -1287,10 +1322,10 @@ > </xsl:element> > </a> > </xsl:if> >- </xsl:for-each> >- <xsl:choose> >- <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> >- </xsl:choose> >+ <xsl:choose> >+ <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> >+ </xsl:choose> >+ </xsl:for-each> > </h5> > </xsl:if> > </xsl:template> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index 24f15ca..c922a66 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -454,57 +454,74 @@ > <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]"> > > by <span class="author"> >- <xsl:for-each select="marc:datafield[(@tag=100 or @tag=700) and @ind1!='z']"> >- <xsl:choose> >- <xsl:when test="position()=last()"> >- <xsl:call-template name="nameABCQ"/>. >- </xsl:when> >- <xsl:otherwise> >- <xsl:call-template name="nameABCQ"/>; >- </xsl:otherwise> >- </xsl:choose> >- </xsl:for-each> >- >- <xsl:for-each select="marc:datafield[(@tag=110 or @tag=710) and @ind1!='z']"> >- <xsl:choose> >- <xsl:when test="position()=1"> >- <xsl:text> -- </xsl:text> >- </xsl:when> >- </xsl:choose> >- <xsl:choose> >- <xsl:when test="position()=last()"> >- <xsl:call-template name="nameABCDN"/> >- </xsl:when> >- <xsl:otherwise> >- <xsl:call-template name="nameABCDN"/>; >- </xsl:otherwise> >- </xsl:choose> >- </xsl:for-each> >- >- <xsl:for-each select="marc:datafield[(@tag=111 or @tag=711) and @ind1!='z']"> >- <xsl:choose> >- <xsl:when test="position()=1"> >- <xsl:text> -- </xsl:text> >- </xsl:when> >- </xsl:choose> >- <xsl:choose> >- <xsl:when test="marc:subfield[@code='n']"> >- <xsl:text> </xsl:text> >- <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">n</xsl:with-param> >- </xsl:call-template> >- <xsl:text> </xsl:text> >- </xsl:when> >- </xsl:choose> >+ <!-- #13383 --> >+ <xsl:for-each select="marc:datafield[(@tag=100 or @tag=700 or @tag=110 or @tag=710 or @tag=111 or @tag=711) and @ind1!='z']"> >+ <xsl:if test="@tag=111 or @tag=711 and marc:subfield[@code='n']"> >+ <xsl:text> </xsl:text> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">n</xsl:with-param> >+ </xsl:call-template> >+ <xsl:text> </xsl:text> >+ </xsl:if> >+ <xsl:call-template name="chopPunctuation"> >+ <xsl:with-param name="chopString"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes"> >+ <xsl:choose> >+ <!-- #13383 include subfield e for field 111 --> >+ <xsl:when test="@tag=111">abcdeqt</xsl:when> >+ <xsl:otherwise>abcdjqt</xsl:otherwise> >+ </xsl:choose> >+ </xsl:with-param> >+ </xsl:call-template> >+ </xsl:with-param> >+ <xsl:with-param name="punctuation"> >+ <xsl:text>:,;/ </xsl:text> >+ </xsl:with-param> >+ </xsl:call-template> >+ <xsl:if test="marc:subfield[@code='4' or @code='e'][not(parent::*[@tag=111])] or (self::*[@tag=111] and marc:subfield[@code='4' or @code='j'][. != ''])"> >+ <span class="relatorcode"> >+ <xsl:text> [</xsl:text> >+ <xsl:choose> >+ <xsl:when test="@tag=111"> >+ <xsl:choose> >+ <!-- Prefer j over 4 --> >+ <xsl:when test="marc:subfield[@code='j']"> >+ <xsl:for-each select="marc:subfield[@code='j']"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:for-each select="marc:subfield[@code=4]"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:otherwise> >+ </xsl:choose> >+ </xsl:when> >+ <!-- Prefer e over 4 --> >+ <xsl:when test="marc:subfield[@code='e']"> >+ <xsl:for-each select="marc:subfield[@code='e']"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:for-each select="marc:subfield[@code=4]"> >+ <xsl:value-of select="."/> >+ <xsl:if test="position() != last()">, </xsl:if> >+ </xsl:for-each> >+ </xsl:otherwise> >+ </xsl:choose> >+ <xsl:text>]</xsl:text> >+ </span> >+ </xsl:if> > <xsl:choose> >- <xsl:when test="position()=last()"> >- <xsl:call-template name="nameACDEQ"/>. >- </xsl:when> >- <xsl:otherwise> >- <xsl:call-template name="nameACDEQ"/>; >- </xsl:otherwise> >+ <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> > </xsl:choose> > </xsl:for-each> >+ > </span> > </xsl:when> > </xsl:choose> >-- >2.3.2 (Apple Git-55)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13383
:
36946
|
37214
|
37247
|
37281
|
37424
|
39878
|
39926
|
40940