Never mind.  I got it, just remove the apply-template. I have trapped
the condition so do what needs to be done.

Thanks! Jose

On Tue, Dec 11, 2012 at 1:27 PM, Jose Blanco <blan...@umich.edu> wrote:
> I don't know why I can't seem to get a handle on xslt, so here goes a
> simple question.  In the section that displays "Recent Submissions", I
> want to overwrite the head and add an RSS link to, it so I did this,
> but it's still displaying the header ( now I have two).  How can I
> completely overwrite what is in the dri/head?:
>
>     <xsl:variable name='rss_feed'><xsl:value-of
> select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='feed']"/></xsl:variable>
>
>     <xsl:template
> match="dri:div[@id='aspect.discovery.CollectionRecentSubmissions.div.collection-recent-submission']/dri:head"
>  priority="3">
>       <a>
>         <xsl:attribute name="href">
>           <xsl:value-of select="$rss_feed"/>
>         </xsl:attribute>
>         <xsl:attribute name="style">
>           "font:strong;"
>         </xsl:attribute>
>         RSS
>       </a>
>       <h3>Recent Deposits</h3>
>       <xsl:apply-templates />
>
>     </xsl:template>

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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