Helix84,
        Thanks for that, do you know why the XPath would cause an error (it 
seemed fine to me)?

Regards,
        Ben

------------------------------------------------------------------
Dr Ben Ryan
Jorum Technical Coordinator (Services)

5.13 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6256
E-mail: [email protected]
------------------------------------------------------------------


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of helix84
Sent: 04 September 2012 14:41
To: Benjamin Ryan
Cc: [email protected]
Subject: Re: [Dspace-tech] XSLT XPATH error

This will remove it only from the homepage, leave it everywhere else.

<xsl:template name="disable_front-page-communities"
match="/dri:document/dri:body/dri:div[@n='comunity-browser']">
        <xsl:if
test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'
and @qualifier='URI'] != ''">
                <xsl:apply-templates />
        </xsl:if>
</xsl:template>

Regards,
~~helix84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to