On Tue, Dec 11, 2012 at 8:09 PM, Jose Blanco <[email protected]> wrote:
> Never mind.  I got it, just remove the apply-template. I have trapped
> the condition so do what needs to be done.

Exactly. Nice to see you managed to get along :)

Just two minor things I noticed:

>     <xsl:variable name='rss_feed'><xsl:value-of
>
select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='feed']"/></xsl:variable>

You can simply write this as

<xsl:variable name='rss_feed'
select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='feed']"/>


>         <xsl:attribute name="href">
>           <xsl:value-of select="$rss_feed"/>
>         </xsl:attribute>

You don't have to use a variable in this case. That was necessary when you
were storing a value you got in DRI and using it while processing DIM. In
this case you're in DRI all the time, so you can just write:

<xsl:attribute name="href">
  <xsl:value-of
select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='feed']"/></xsl:attribute>



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to