Hi
Can anyone plot out why the test condition is failing in my code for
displaying the thumbnails of an image in xmlui.
<xsl:choose>
<xsl:when
test="$context/mets:METS/mets:fileSec/mets:fileg...@use='THUMBNAIL']">
<a class="image-link">
<xsl:attribute name="href">
<xsl:value-of
select="./mets:floc...@loctype='URL']/@*[local-name()='href']"/>
</xsl:attribute>
<img alt="Thumbnail">
<xsl:attribute name="src">
<xsl:value-of
select="$context/mets:METS/mets:fileSec/mets:fileg...@use='THUMBNAIL']/
mets:file/mets:floc...@loctype='URL']/@*[local-name()='href']"/>
</xsl:attribute>
</img>
</a>
</xsl:when>
<xsl:otherwise>
<a>
<xsl:attribute name="href">
<xsl:value-of
select="./mets:floc...@loctype='URL']/@*[local-name()='href']"/>
</xsl:attribute>
<img alt="Thumbnail">
<xsl:attribute name="src">
<xsl:value-of
select="./mets:fileSec/mets:fileg...@use='THUMBNAIL']/
mets:file/mets:floc...@loctype='URL']/@*[local-name()='href']"/>
</xsl:attribute>
</img> -->
<i18n:text>xmlui.dri2xhtml.METS-1.0.item-files-viewOpen</i18n:text>
</a>
</xsl:otherwise>
</xsl:choose>
--
Regards,
Yureshwar Ravuri.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech