Re: [xslt] boolval of node sets



Daniel Veillard writes:
>> Is the value of the boolval field updated elsewhere
>> or is this a problem?
>  just that boolval is meant to carry an information which
>is not what the boolean() value will return.

Yup, I finally clued in that boolval for nodeset/xslttree is a flag
to tell xmlXPathFreeObject() to free the contents of the nodeset
instead of just the nodeTab.  xmlXPathCastNodeSetToBoolean() doesn't
use boolval.

Thanks,
 Phil


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