Hi
I have a hybrid repository that has both full-text and harvested metadata.
Now the URL for full-text in harvested records is appearing in
dc.identifier, in addition to some other information in dc.identifier. When
I add an entry in item-view.xsl as advised on
http://stackoverflow.com/questions/32074688/how-to-show-custom-metadata-in-dspaces-summary-view,
dc.identifier.url is been displayed twice. Visit
http://ir.uz.ac.zw/handle/10646/2546
This is not what I want. I would like dc.identifier.url not to be displayed
twice and I would also like the non-link potion of dc.identifier not to be
displayed as a link. This is what I have added to my item-view.xsl
<!-- identifier row -->
<xsl:when test="$clause = 4 and (dim:field[@element='identifier'
and descendant::text()])">
<div class="simple-item-view-other">
<span
class="bold"><i18n:text>xmlui.dri2xhtml.METS-1.0.item-uri</i18n:text>:</span>
<span>
<xsl:for-each
select="dim:field[@element='identifier' ]">
<a>
<xsl:attribute name="href">
<xsl:copy-of select="./node()"/>
</xsl:attribute>
<xsl:copy-of select="./node()"/>
</a>
<xsl:if
test="count(following-sibling::dim:field[@element='identifier']) != 0">
<br/>
</xsl:if>
</xsl:for-each>
</span>
</div>
<xsl:call-template name="itemSummaryView-DIM-fields">
<xsl:with-param name="clause" select="($clause + 1)"/>
<xsl:with-param name="phase" select="$otherPhase"/>
</xsl:call-template>
</xsl:when>
Regards,
Admire Mutsikiwa
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.