RE: [xsl] sorting - lost in a maze

Subject: RE: [xsl] sorting - lost in a maze
From: "Touchtel" <omprakashv@xxxxxxxxxxxxxxxxx>
Date: Fri, 11 Mar 2005 22:43:52 +0530
 Hi,
    But the test was failing somehow. Hence my solution.

 Cheers,
 Omprakash.V







-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Friday, March 11, 2005 10:30 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] sorting - lost in a maze



> 	I believe the problem is with the following line in
> your stylesheet.
>
>      <xsl:if test="texte/*= $keyword">
> 	"*" implies all children of the texte node and you
> cannot compare a set of
> nodes to a single value.

Yes, you can compare a set of nodes to a single value. The result is true if
any of them matches.

And I think this stylsheet was doing it deliberately.

Michael Kay
http://www.saxonica.com/

Current Thread