xsl-list
[Top] [All Lists]

RE: sorting - lost in a maze

2005-03-11 10:00:16
 
      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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>