On Thu, Jun 6, 2013 at 12:11 PM, Webshet, Sisay (ILRI) <[email protected]>
wrote:
> Yes, link to URL:of an item (as an example to)
http://www.slideshare.net/ILRI/spvcd-uganda-zachary
No, this is what I asked for: http://cgspace.cgiar.org/handle/10568/28986
It's a simple modification of what I sent you before. Study the difference
and you should be able to make such modifications yourself, too.
<a>
<xsl:attribute name="href">
<xsl:choose>
<xsl:when
test="./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
@USE='ORIGINAL']/mets:file[@MIMETYPE='application/pdf']">
<xsl:value-of
select="./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
@USE='ORIGINAL']/mets:file[@MIMETYPE='application/pdf']/mets:FLocat/@xlink:href"
/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
select="mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim/dim:field[@element='identifier'][@qualifier='uri']"
/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<img>
<xsl:attribute name="src">
<xsl:value-of
select="./mets:fileSec/mets:fileGrp[@USE='CONTENT' or
@USE='ORIGINAL']/mets:file[@MIMETYPE='image/gif']/mets:FLocat/@xlink:href"
/>
</xsl:attribute>
</img>
</a>
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
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