Hello,

I fixed this problem in our installation by changing the occurrences of
@GROUP_ID to @GROUPID.

So, instead of

<xsl:value-of select="$context/mets:fileSec/mets:fileg...@use='THUMBNAIL']/
mets:fi...@group_id=current()/@GROUP_ID]/mets:floc...@loctype='URL']/@xlink:href"/>
we have

<xsl:value-of
select="$context/mets:fileSec/mets:fileg...@use='THUMBNAIL']/mets:fi...@groupid=current()/@GROUPID]/mets:floc...@loctype='URL']/@xlink:href"/>

Similarly for the <xsl:when test=...> expression.

Hope it helps.

Fabio Kepler

On Thu, Jul 16, 2009 at 11:05, Williams, Steven D <
[email protected]> wrote:

>  Hello,
>
>
>
> We are having a problem with thumbnails not showing on the item view pages.
> The Media Filter seems to be working because the item browse list shows the
> thumbnails. We are running 1.5.2 with XMLUI.
>
>
>
> It seems the XSL code with the problem starts at line 173 of  the
> General-Handler. The <xsl:when test=”…”> xpath never seems to be true. Has
> anyone else had this issue?
>
> <xsl:choose>
>
>                     <xsl:when
> test="$context/mets:fileSec/mets:fileg...@use='THUMBNAIL']/
>
>                         mets:fi...@group_id=current()/@GROUP_ID]">
>
>                         <a class="image-link">
>
>                             <xsl:attribute name="href">
>
>                                 <xsl:value-of
> select="mets:floc...@loctype='URL']/@xlink:href"/>
>
>                             </xsl:attribute>
>
>                             <img alt="Thumbnail">
>
>                                 <xsl:attribute name="src">
>
>                                     <xsl:value-of
> select="$context/mets:fileSec/mets:fileg...@use='THUMBNAIL']/
>
>
> mets:fi...@group_id=current()/@GROUP_ID]/mets:floc...@loctype='URL']/@xlink:href"/>
>
>                                 </xsl:attribute>
>
>                             </img>
>
>                         </a>
>
>                     </xsl:when>
>
>                     <xsl:otherwise>
>
>                         <a>
>
>                             <xsl:attribute name="href">
>
>                                 <xsl:value-of
> select="mets:floc...@loctype='URL']/@xlink:href"/>
>
>                             </xsl:attribute>
>
>
>
>
> <i18n:text>xmlui.dri2xhtml.METS-1.0.item-files-viewOpen</i18n:text>
>
>                         </a>
>
>                     </xsl:otherwise>
>
>                 </xsl:choose>
>
>
>
> Thanks in advance for your help.
>
>
>
> Steve Williams
>
> Webmaster
>
> University of Texas Libraries
>
> The University of Texas at Austin
>
>
>
> PCL 1.128 |  Mail Code S5476
>
> Austin, TX 78713-8916
>
> Phone: 512-495-4384
>
> [email protected]  |  www.lib.utexas.edu
>
>
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to