[Mono-dev] XPath problem

fedotenko hugobendelin at hotmail.com
Sun Mar 12 16:00:04 EST 2006


Im using XslTransform-class to transform information in on a XML-document
with a XSL-stylesheet like this:

<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/score[@goal=current()/@nr]) +
count(/matches/match/score[@ass=current()/@nr])" data-type="number"
order="descending" />
   <xsl:sort select="count(/matches/match/score[@goal=current()/@nr])"
data-type="number" order="descending" />
   <xsl:sort select="count(/matches/match/score[@ass=current()/@nr])"
data-type="number" order="descending" />
...

The problem is that the sort gets ignored. It works on the .net platform
with the same code. Am I doing something wrong or is this not supposed to
work on mono yet or is it possible a bug?
--
View this message in context: http://www.nabble.com/XPath-problem-t1269193.html#a3368405
Sent from the Mono - Dev forum at Nabble.com.




More information about the Mono-devel-list mailing list