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



On Mon, 14 May 2001, Thomas Broyer wrote:


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?)

True if there are nodes. False otherwise.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\





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