Re: [xml] Retrieving boolean/number/string value from XPath objects



Le 14/05/01 21:19:53, Daniel Veillard a écrit :
  The code is nice, thanks a lot, recompiled, I found just one
small bit about xmlXPathCastNodeSetToBoolean() which is not static
but not exported either. It should probably be added to xpath.h

No its a typo, it is declared as xmlXPathCastNodeToBoolean, this function
doesn't exist (should it be the boolean value of the string value of the
node, or the boolean value of its number value? or even something else?)

FYI, I'm adding an xmlXPathEmptyNodeSet function to free the list of nodes
without freeing the xmlNodeSet struct.

Tom.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]