[Koha-bugs] [Bug 15162] Add for Unimarc transformation to new metadata formats

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 13 13:14:55 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15162

--- Comment #9 from Frédéric Demians <frederic at tamil.fr> ---
(In reply to Jonathan Druart from comment #8)
> Comment on attachment 44825 [details] [review]
> [SIGNED-OFF]Bug 15162 Add for Unimarc XSL trans for RDF-DC & SRW-DC
> 
> Review of attachment 44825 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2RDFDC.xsl
> @@ +142,5 @@
> > +          <xsl:text>URN:ISSN:</xsl:text>
> > +          <xsl:value-of select="marc:subfield[@code='a']"/>
> > +        </dc:identifier>
> > +      </xsl:for-each>
> > +      <xsl:for-each select="marc:datafield[@tag=995]">
> 
> It seems that unapi does not return the item fields.

So it won't hurt. It's a cut-and-paste of the OAI-PMH XSL. 

> @@ +147,5 @@
> > +        <dc:identifier>
> > +          <xsl:text>LOC:</xsl:text>
> > +          <xsl:choose>
> > +            <xsl:when test="marc:subfield[@code='c']='MAIN'">Main library</xsl:when>
> > +            <xsl:when test="marc:subfield[@code='c']='BIB2'">Library 2</xsl:when>
> 
> Hum? :)

It's how it is now for OAI XSL. It's not a regression... It won't display
anything except if a Unimarc DB has a branch named MAIN or BIB2.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list