Miguel,

If you use XMLUI interface, it's done by editing your "theme.xsl". You 
have to edit the part of the theme that shows a specific metadata.

When depositing an item you must type the handle of the item you want to 
make a link for.

Example: 123456789/10

Doing so, it will show a link to 123456789/10 using its title.

Here's a sample code used in our theme xsl file for 
dc.relation.hasversion metadata:

<xsl:if test="dim:fie...@element='relation' and @qualifier='hasversion']">
<tr class="ds-table-row even">

<td><span 
class="bold"><i18n:text>xmlui.dri2xhtml.METS-1.0.item-hasVersion</i18n:text>:</span></td>
<td>
<xsl:if test="count(dim:fie...@element='relation' and 
@qualifier='hasversion']) &gt; 1">
<hr class="metadata-seperator"/>
</xsl:if>

<xsl:for-each select="dim:fie...@element='relation' and 
@qualifier='hasversion']">
<xsl:variable name="externalMetadataURL">
<xsl:text>cocoon:/</xsl:text>
<xsl:value-of select="concat('/metadata/handle/',./node(),'/mets.xml')"/>
</xsl:variable>
<xsl:apply-templates select="document($externalMetadataURL)" 
mode="referenceItem"/>

<xsl:if test="count(following-sibling::dim:fie...@element='relation' and 
@qualifier='hasversion']) != 0">
<hr class="metadata-seperator"/>
</xsl:if>
</xsl:for-each>
<xsl:if test="count(dim:fie...@element='relation' and 
@qualifier='hasversion']) &gt; 1">
<hr class="metadata-seperator"/>
</xsl:if>
</td>
</tr>
</xsl:if>

Hope it helps

Fabricio Costa
Tribunal Superior do Trabalho - Brazil



On 8/6/2010 18:38, [email protected] wrote:
> Fabricio,
>
> Yes, that's what I'm trying to do.
>
> Do you use a DSpace's standar method? Could you explain me about this 
> method?
> Regards,
>
> Miguel
>
> Quoting Fabricio <[email protected]>:
>
>>
>> Miguel,
>>
>> Take a look at this site. Is that what you wish?
>>
>> http://aplicacao.tst.jus.br/dspace/handle/1939/6756
>>
>> Regards,
>> Fabricio
>>
>> On 8/6/2010 13:59, Miguel A. Robledo wrote:
>>> Hi all,
>>>
>>> I need to make references between items. The idea is make the
>>> reference in a easy way, for example, selecting the item which refers
>>> from a search (and not typing the URL complete the referenced item.)
>>>
>>> My intention is linking referenced documents, for examples law 
>>> articles,
>>> where the asociation could be a modification, a replace, etc.
>>>
>>> So, in item description should say something like:
>>>   *this law/item is replaced by ....
>>>   *this law/item modifies "some item"...
>>>
>>> I could use the DC fields: dc.relation.replaces, 
>>> dc.relation.isreplacedby
>>>
>>> Has anyone done something like this?, any ideas?
>>>
>>> Regards,
>>>
>>>
>>
>>
>>
>
>
>



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to