<xsl:template match="/record">
<pz:record>
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of select="title" />
- <xsl:text> author </xsl:text>
- <xsl:value-of select="author"/>
- </xsl:attribute>
<xsl:apply-templates/>
</pz:record>
</xsl:template>
<xsl:template match="/*">
<pz:record>
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of select="dc:title[1]"/>
- <xsl:text> author </xsl:text>
- <xsl:value-of select="dc:creator[1]"/>
- </xsl:attribute>
-
<pz:metadata type="id">
<xsl:value-of select="dc:identifier"/>
</pz:metadata>
</xsl:variable>
<pz:record>
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of select="marc:datafield[@tag='245']/marc:subfield[@code='a']"/>
- <xsl:text> author </xsl:text>
- <xsl:value-of select="marc:datafield[@tag='100']/marc:subfield[@code='a']"/>
- <xsl:text> medium </xsl:text>
- <xsl:value-of select="$medium"/>
- </xsl:attribute>
-
<xsl:for-each select="marc:controlfield[@tag='001']">
<pz:metadata type="id">
</xsl:variable>
<pz:record>
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of select="marc:datafield[@tag='245']/marc:subfield[@code='a']"/>
- <xsl:text> author </xsl:text>
- <xsl:value-of select="marc:datafield[@tag='100']/marc:subfield[@code='a']"/>
- <xsl:text> medium </xsl:text>
- <xsl:value-of select="$medium"/>
- </xsl:attribute>
<pz:metadata type="medium">
- <xsl:value-of select="$medium"/>
+ <xsl:value-of select="$medium"/>
</pz:metadata>
<xsl:apply-templates/>
<metadata name="isbn"/>
<metadata name="issn"/>
<metadata name="tech-rep-nr"/>
- <metadata name="author" brief="yes" termlist="yes" merge="unique" rank="2"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="unique"
+ rank="2" mergekey="optional"/>
<metadata name="author-title"/>
<metadata name="author-date"/>
<metadata name="corporate-name"/>
<metadata name="date" brief="yes" sortkey="numeric" type="year"
merge="range" termlist="yes"/>
<metadata name="title" brief="yes" sortkey="skiparticle"
- merge="longest" rank="6"/>
+ merge="longest" rank="6" mergekey="required"/>
<metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
<metadata name="title-responsibility" brief="yes" merge="longest"/>
<metadata name="title-dates" brief="yes" merge="longest"/>
<metadata name="title-medium" brief="yes" merge="longest"/>
<metadata name="title-number-section" brief="yes" merge="longest"/>
- <metadata name="medium" brief="yes" merge="no"/>
+ <metadata name="medium" brief="yes" merge="no" mergekey="optional"/>
<metadata name="iii-id" brief="yes" merge="no"/>
<metadata name="edition"/>
<metadata name="publication-place"/>
<xsl:template match="/marc:record">
<pz:record>
- <xsl:attribute name="mergekey">
- <xsl:text>title </xsl:text>
- <xsl:value-of
- select="marc:datafield[@tag='200']/marc:subfield[@code='a']"/>
- <xsl:text> author </xsl:text>
- <xsl:value-of
- select="marc:datafield[@tag='700']/marc:subfield[@code='a']"/>
- <xsl:text> </xsl:text>
- <xsl:value-of
- select="marc:datafield[@tag='700']/marc:subfield[@code='b']"/>
- </xsl:attribute>
-
-
<xsl:for-each select="marc:controlfield[@tag='001']">
<pz:metadata type="id">
<xsl:value-of select="."/>