Hi,
                When attempting to suppress the rendering of the "Community 
List" on the front page I am using the following template:

                <xsl:template
              name="disable_front-page-communities"
              match="/dri:document/dri:body/dri:div[@n='comunity-browser'] ">
       </xsl:template>

       This works Ok but also suppresses the rendering on the "Community & 
Collections" page.

       I have tried:

       <xsl:template
              name="disable_front-page-communities"
              
match="/dri:document/dri:body/dri:div[@n='comunity-browser']/../../dri:meta/dri:pageMeta/dri:metadata[@qualifier='URI'
 and @element='request' and not(string(.))] ">
       </xsl:template>

                To limit the template to the front page only but this gives the 
error:

                javax.xml.transform.TransformerException: A node test that 
matches either NCName:* or QName was expected.
context:/jndi:/localhost/sc-xmlui/themes/Mirage/lib/xsl/core/page-structure.xsl 
- 633:172

Any ideas? If not does anybody have a work round for this?

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]<mailto:[email protected]>
------------------------------------------------------------------

------------------------------------------------------------------------------
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