xsl-list
[Top] [All Lists]

RE: sorting - lost in a maze

2005-03-11 10:13:52
 Hi,
    But the test was failing somehow. Hence my solution.

 Cheers,
 Omprakash.V







-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com]
Sent: Friday, March 11, 2005 10:30 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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/



--~------------------------------------------------------------------
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>
--~--





--~------------------------------------------------------------------
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>