On Tue, Mar 29, 2011 at 22:17, André <[email protected]> wrote: > On the front page we have no definition of URI: > <metadata element="request" qualifier="URI"/>
That's OK, it's value will be an empty string. > I'm inserting this on dri2xhtml.xsl, inside > <xsl:template name="communitySummaryList-DIM"> > > Is that correct? That sounds wrong, that template is not defined in that file. You should override templates anyway. But first of all which Manakin theme are you using? More correctly, you should create a new theme as a copy of an existing one (Reference and Mirage are the most useful ones in 1.7) and override what you need in there. You will find info on that here: https://wiki.duraspace.org/display/DSPACE/Manakin+Themes If your theme is a copy of Reference, this one is based on the templates in dri2xhtml, if you're using Mirage, it's based on dri2xhtml-alt. keep this in mind. So what's wrong? I assume you were really editing communitySummaryList-DIM in either dri2xhtml/DIM-Handler.xsl or Mirage/lib/xsl/aspect/artifactbrowser/community-list.xsl. The problem with that template is that its input isn't DRI, but the METS file of the community (e.g. /metadata/handle/123456789/7/mets.xml, insert a valid handle of your collection). So you can't access DRI from that template. You'll have to find where that template is called and access DRI from there. So it was falling back to the otherwise section because the xpath didn't exist, not because it wasn't equal to 'copmmunity-list'. First, just place something simple there like XXX<xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']"/>XXX to see if you can access that xpath from where you put the code in. Regards, ~~helix84 ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

