Revision: 5456
http://geonetwork.svn.sourceforge.net/geonetwork/?rev=5456&view=revAuthor: sppigot
Date: 2009-11-06 12:54:02 +0000 (Fri, 06 Nov 2009)
Log Message:
-----------
Remove extraneous text produced by client-error-tip.xsl which runs
in the browser to display harvester errors
Modified Paths:
--------------
sandbox/BlueNetMEST/web/geonetwork/xsl/harvesting/client-error-tip.xsl
Modified: sandbox/BlueNetMEST/web/geonetwork/xsl/harvesting/client-error-tip.xsl
===================================================================
--- sandbox/BlueNetMEST/web/geonetwork/xsl/harvesting/client-error-tip.xsl 2009-11-06 12:51:55 UTC (rev 5455)
+++ sandbox/BlueNetMEST/web/geonetwork/xsl/harvesting/client-error-tip.xsl 2009-11-06 12:54:02 UTC (rev 5456)
@@ -10,8 +10,8 @@
<!-- === Generate the error tooltip for the harvesting entry list -->
<!-- ============================================================================================= -->
- <xsl:template match="/">
- <xsl:apply-templates select="root/node/error"/>
+ <xsl:template match="/root">
+ <xsl:apply-templates select="*"/>
</xsl:template>
<xsl:template match="error">
@@ -37,10 +37,20 @@
</table>
</td>
</tr>
+ <xsl:if test="object">
+ <tr>
+ <td><b>Info</b> </td>
+ <td><xsl:value-of select="object"/></td>
+ </tr>
+ </xsl:if>
</table>
</xsl:template>
-
+ <!-- swallow the rest of the elements -->
+ <xsl:template match="@*|node()">
+ <xsl:apply-templates select="*"/>
+ </xsl:template>
+
<!-- ============================================================================================= -->
</xsl:stylesheet>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
GeoNetwork-commit mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-commit