Hello everybody,
I work with Dspace 1.7.2 and Mirage theme.
I need to hide 4 collections that have the following names and handles:

X - Formulari - Llibres (http://dspace.uvic.cat:8888/xmlui/handle/10854/1945)
X - Formulari - Capítols de llibres (http://dspace.uvic.cat:8888/xmlui/handle/10854/1946)
X - Formulari - Article de revista (http://dspace.uvic.cat:8888/xmlui/handle/10854/2040)
X - Formulari - Conferències, Proceedings, Pòsters de Congressos no publicats http://dspace.uvic.cat:8888/xmlui/handle/10854/2041)


In the file collection-list.xsl, I created this code that follows by which I have succeeded in eliminating the title, "[", number of items, etc.
Please see:
http://dspace.uvic.cat:8888/xmlui/handle/10854/2

But... I
do not know how to remove 
the "points" (·) from the list only for these four collections.
Can anyone help me, please ?
Thanks in advance.
Sorry for my inexperience in programming xsl :-(


    <xsl:template name="collectionSummaryList-DIM">
        <xsl:variable name="data" select="./mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim"/>
                <a href="">                
                     <xsl:choose>                          
                            <xsl:when test="contains($data/dim:field[@element='title'],'Formulari')" >                             
                                <xsl:text> </xsl:text>                             
                            </xsl:when>
                           
                           
                            <xsl:otherwise>
                                <xsl:value-of select="$data/dim:field[@element='title'][1]"/>
                            </xsl:otherwise>
                     </xsl:choose>  
                </a>
    
                            
                                            <xsl:choose>                         
                            <xsl:when test="($data/dim:field[@element='format'][@qualifier='extent'])= 0">
                                <xsl:text> </xsl:text>
                            </xsl:when>
                           
                           
                            <xsl:otherwise>
                                <xsl:text> [</xsl:text>
                                <xsl:value-of select="$data/dim:field[@element='format'][@qualifier='extent'][1]"/>
                                    <xsl:text>]</xsl:text>
                            </xsl:otherwise>
                        </xsl:choose>
    </xsl:template>
--

M. Àngels Pulido Medina
Biblioteca - Servei de Recursos Informàtics
Logo UVic
Universitat de Vic
C. Sagrada Família, 7
08500 Vic
Tel. 938 816 170 (8333)
m.angels.pul...@uvic.cat
www.uvic.cat

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to