[Koha] import with file.xsl

anabela semedo anabela556 at hotmail.com
Fri Dec 7 02:38:19 NZDT 2018


hi

i need to import data with z39.50 from Library of Portugal with file.xsl because the tags is not a same.

hi have a problem when import the their field 700 to our field  100 because their are the subfields 700$a$b and we are only 100$a and i can not calling de firstname of authors.

 <!-- 700->100 -->
    <xsl:call-template name="transform-personal-name">
      <xsl:with-param name="srcTag">700</xsl:with-param>
      <xsl:with-param name="dstTag">100</xsl:with-param>
      <xsl:with-param name="srcCodes">abf</xsl:with-param>
      <xsl:with-param name="dstCodes">ad</xsl:with-param>
    </xsl:call-template>

    <!-- 701->700 -->
    <xsl:call-template name="transform-personal-name">
      <xsl:with-param name="srcTag">701</xsl:with-param>
      <xsl:with-param name="dstTag">700</xsl:with-param>
      <xsl:with-param name="srcCodes">ab</xsl:with-param>
      <xsl:with-param name="dstCodes">a</xsl:with-param>
    </xsl:call-template>

    <!-- 702->700 -->
    <xsl:call-template name="transform-personal-name">
      <xsl:with-param name="srcTag">702</xsl:with-param>
      <xsl:with-param name="dstTag">700</xsl:with-param>
      <xsl:with-param name="srcCodes">ab</xsl:with-param>
      <xsl:with-param name="dstCodes">a</xsl:with-param>
    </xsl:call-template>


It's the same with 701 and 702.
can someone help me?

Ana Bela





More information about the Koha mailing list