Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=77781

--- shadow/77781        2006-03-14 05:18:38.000000000 -0500
+++ shadow/77781.tmp.27973      2006-03-14 16:10:42.000000000 -0500
@@ -1,23 +1,23 @@
 Bug#: 77781
 Product: Mono: Class Libraries
 Version: 1.1
 OS: Debian Woody
 OS Details: Debian Woody
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.XML
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Possible Xpath sort problem
+Summary: Xpath sort problem
 
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 
 I Have been trying to write a xsl file to sort and style a xml-document on
@@ -216,6 +216,33 @@
 select="count(/matches/match/[EMAIL PROTECTED])" />
 <xsl:variable name="assist"
 select="count(/matches/match/[EMAIL PROTECTED])" />
 <xsl:value-of select="$goals + $ass" />
 <xsl:value-of select="$goals" />
 <xsl:value-of select="$ass" />
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-03-14 16:10 -------
+Ok, after changing the stylesheet like this, I could reproduce the
+problem.
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
+version="1.0">
+ <xsl:template match="/">
+  <xsl:for-each select="matches/players/player">
+   <xsl:sort select="count(/matches/match/[EMAIL PROTECTED]()/@nr]) +
+count(/matches/match/[EMAIL PROTECTED]()/@nr])" data-type="number"
+order="descending" />
+   <xsl:sort select="count(/matches/match/[EMAIL PROTECTED]()/@nr])"
+data-type="number" order="descending" />
+   <xsl:sort select="count(/matches/match/[EMAIL PROTECTED]()/@nr])"
+data-type="number" order="descending" />
+<xsl:variable name="player" select="@nr" />
+<xsl:variable name="goals"
+select="count(/matches/match/[EMAIL PROTECTED])" />
+<xsl:variable name="ass"
+select="count(/matches/match/[EMAIL PROTECTED])" />
+<xsl:value-of select="$goals + $ass" /> (<xsl:value-of select="$goals"
+/>, <xsl:value-of select="$ass" />).
+  </xsl:for-each>
+ </xsl:template>
+</xsl:stylesheet>
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to