Sorry, my previous example was wrong. This should work in your example (assuming the thumbnail exists): <xsl:value-of select="//mets:fileGrp[@USE='THUMBNAIL']/mets:file/@MIMETYPE"/>
Unrelated to your question, do you have a particular reason to use "//"? I understand it's less efficient than the original code. E.g. you basically used this: //mets:fileGrp[@USE='THUMBNAIL'] instead of this: $context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL'] Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ 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

