hello,
i have problems addressing fields running a for-each statement.
the images in the for-each statements are printed out fine.
the contributor does not match the test statement.
can someone show me the path (absolute or relative) in this case for
fetching the contributor?
best
lars
<xsl:template match="dim:dim" mode="itemSummaryView-DIM">
<xsl:for-each
select="//mets:fileGrp[@USE='CONTENT']/mets:file[@MIMETYPE='image/jpeg']">
***** fetch images works fine
<xsl:choose>
**** does not work ****
<xsl:when test="dim:field[@element='contributor'][@qualifier='other']">
<div class="contributor-other"><span
class="label"><i18n:text>xmlui.dri2xhtml.METS-1.0.contributor-other</i18n:text></span>
<xsl:text> </xsl:text>
<xsl:for-each
select="dim:field[@element='contributor'][@qualifier='other']">
<xsl:copy-of select="node()"/>
<xsl:if
test="count(following-sibling::dim:field[@element='contributor'][@qualifier='other'])
!= 0">
<xsl:text>; </xsl:text>
</xsl:if>
</xsl:for-each>
</div>
</xsl:when>
</xsl:choose>
</xsl:for-each>
</xsl:template>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette