----- Original Message ----- From: <[EMAIL PROTECTED]> To: "DSpace Tech-List" <DSpace-tech@lists.sourceforge.net> Sent: Monday, April 21, 2008 4:38 PM Subject: Re: [Dspace-tech] [Dspace-general] Change displayeditemmetadata(XMLUI)
> ----- Original Message ----- > From: "Scott Phillips" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: "DSpace Tech-List" <DSpace-tech@lists.sourceforge.net> > Sent: Monday, April 21, 2008 3:22 PM > Subject: Re: [Dspace-tech] [Dspace-general] Change displayed > itemmetadata(XMLUI) > > >> >> Oh, sorry. I thought have thought a step a head in answering your >> question. Yes, adding the &XML will give you the DRI page. However the >> DRI page no longer includes proper metadata, instead it includes a >> reference to the metadata. So you see the line: >>> <reference repositoryID="123456789" type="DSpace Collection" >>> url="/metadata/handle/123456789/3/mets.xml"/> >> >> Use the URL here to resolve to the mets document for the item, this >> document is what is being processed by the DIM handler. > > Ah - much better. Still few questions though. So if substitute with my > custom metadate whereever i can i get this (see below): > > Now, sisnce my metadata is from custom scheme, what do i sub > "xmlui.dri2xhtml.METS-1.0.item-date" and "<xsl:copy-of > select="substring(./node(),1,10)"/>" with? > > Thanks you again for all your help... This works of course - realized too late that "xmlui.dri2xhtml.METS-1.0.item-date" is just a text for element name. Thank you all so much. Now - how to properly spin it off into include file so future upgrades don't overwite it? I made my changes to <xsl:template match="dim:dim" mode="itemSummaryView-DIM"> template in hemes/dri2xhtml/DIM-Handler.xsl can i somehow insclude my changes by item from outside file? Sorry if it's a newbie question - i really know next to nothing about XLS... Vadim > > <xsl:if test="dim:[EMAIL PROTECTED]'person' and @qualifier='startterm']"> > <tr class="ds-table-row odd"> > <td><span > class="bold"><i18n:text>xmlui.dri2xhtml.METS-1.0.item-date</i18n:text>:</span></td> > <td> > <xsl:for-each select="dim:[EMAIL PROTECTED]'person' and > @qualifier='startterm']"> > <xsl:copy-of select="substring(./node(),1,10)"/> > <xsl:if test="count(following-sibling::dim:[EMAIL PROTECTED]'person' and > @qualifier='startterm']) != 0"> > <br/> > </xsl:if> > </xsl:for-each> > </td> > </tr> > </xsl:if> > >> >> Scott-- >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech