Subject: RE: sorting - lost in a maze
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 11 Mar 2005 17:00:16 -0000
|
> 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/
|