Lines Matching refs:ns
402 * @ns: a node-set
408 #define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
411 * @ns: a node-set
416 * Returns the xmlNodePtr at the given @index in @ns or NULL if
419 #define xmlXPathNodeSetItem(ns, index) \
420 ((((ns) != NULL) && \
421 ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
422 (ns)->nodeTab[(index)] \
426 * @ns: a node-set
428 * Checks whether @ns is empty or not.
430 * Returns %TRUE if @ns is an empty node-set.
432 #define xmlXPathNodeSetIsEmpty(ns) \
433 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
457 xmlXPathCastNodeSetToBoolean(xmlNodeSetPtr ns);
468 xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns);
479 xmlXPathCastNodeSetToString (xmlNodeSetPtr ns);