I'm trying to put the PDF link (if exist) in the result search page or
when the user explores a community, or browse by date, etc.
I've tried to touch DIM-Handler.xsl
<!-- Generate the info about the item from the metadata section -->
<xsl:template match="dim:dim" mode="itemSummaryList-DIM">
<xsl:variable name="itemWithdrawn" select="@withdrawn" />
<!-- Here will be a div for the PDF .-->
<xsl:if test="count(ancestor::mets:fileSec/mets:fileGrp) > 0">
But cannot make it work, It seems that the XML has fileSec but in
anycase this element is empty (even if the record has files
associated). Only has fileGrp when the user access to the detailed
view clicking in the title. Anybody could point me to the right way to
obtain the attached file list for an object? I've tried //mets:file,
//mets:fileGrp/mets:file, etc etc...
Regards and thanks