Hi all,

I have an theme which shows the preview of the thumbnail. But it is not
showing the preview the test conditioned is failed. here is the code where
it checks the thumbnails. Can anyone help me how to fix this.


*Code*

*<td>
                        <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>

<i18n:text>xmlui.dri2xhtml.METS-1.0.item-files-viewOpen</i18n:text>
                                </a>
                            </xsl:otherwise>
                        </xsl:choose>
                    </td>
*
**

-- 
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

Reply via email to