Never mind, I see I should have done: <xsl:variable name='requestcopy'><xsl:value-of select="'available'"/></xsl:variable>
-----Original Message----- From: Blanco, Jose [mailto:[email protected]] Sent: Wednesday, April 18, 2012 10:50 AM To: [email protected]; Smith, Ina Cc: [email protected] Subject: Re: [Dspace-tech] DSpace statistics: Top country and Top city views OK, I think I may have something wrong with my xsl. I'm expecting the code inside the if to show up (I'm just experimenting here), but it does not. Can you tell why? <xsl:variable name='requestcopy'><xsl:value-of select="available"/></xsl:variable> <xsl:if test="$requestcopy='available'"> <a> <xsl:attribute name="href"> <xsl:value-of select="mets:FLocat[@LOCTYPE='URL']/@xlink:href"/> </xsl:attribute> <xsl:text>Request a Copy</xsl:text> <img alt="Icon" src="{concat($theme-path, '/images/lock.gif')}" style="height: {$thumbnail.maxheight}px;"/> </a> </xsl:if> -----Original Message----- From: helix84 [mailto:[email protected]] Sent: Wednesday, April 18, 2012 10:42 AM To: Smith, Ina Cc: [email protected] Subject: Re: [Dspace-tech] DSpace statistics: Top country and Top city views On Wed, Apr 18, 2012 at 16:18, Smith, Ina <[email protected]> <[email protected]> wrote: > We experience trouble getting our Top country and Top city views > display correctly. See for example > http://scholar.sun.ac.za/handle/10019.1/5194/statistics Do you have this file? [dspace]/config/GeoLiteCity.dat It should be downloaded automatically by maven during the build process. If it's not, you can get it manually: cd [dspace]/config/ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz gzip -d GeoLiteCity.dat.gz Then restart Tomcat. Regards, ~~helix84 ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

