--- embedaddon/libxml2/doc/html/libxml-xpathInternals.html 2013/07/22 01:22:26 1.1.1.2 +++ embedaddon/libxml2/doc/html/libxml-xpathInternals.html 2014/06/15 19:53:36 1.1.1.3 @@ -69,9 +69,9 @@ A:link, A:visited, A:active { text-decoration: underli
xmlNodePtr	xmlXPathNextSelf	(xmlXPathParserContextPtr ctxt, 
xmlNodePtr cur)
xmlNodeSetPtr	xmlXPathNodeLeading	(xmlNodeSetPtr nodes, 
xmlNodePtr node)
xmlNodeSetPtr	xmlXPathNodeLeadingSorted	(xmlNodeSetPtr nodes, 
xmlNodePtr node)
-
void	xmlXPathNodeSetAdd		(xmlNodeSetPtr cur, 
xmlNodePtr val)
-
void	xmlXPathNodeSetAddNs		(xmlNodeSetPtr cur, 
xmlNodePtr node,
xmlNsPtr ns)
-
void	xmlXPathNodeSetAddUnique	(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
int	xmlXPathNodeSetAdd		(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
int	xmlXPathNodeSetAddNs		(xmlNodeSetPtr cur, 
xmlNodePtr node,
xmlNsPtr ns)
+
int	xmlXPathNodeSetAddUnique	(xmlNodeSetPtr cur, 
xmlNodePtr val)
int	xmlXPathNodeSetContains		(xmlNodeSetPtr cur, 
xmlNodePtr val)
void	xmlXPathNodeSetDel		(xmlNodeSetPtr cur, 
xmlNodePtr val)
void	xmlXPathNodeSetFreeNs		(xmlNsPtr ns)
@@ -275,13 +275,13 @@ A:link, A:visited, A:active { text-decoration: underli

Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes is sorted by document order, then #exslSetsNodeLeadingSorted is called.

nodes:a node-set
node:a node
Returns:the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node

Function: xmlXPathNodeLeadingSorted

xmlNodeSetPtr	xmlXPathNodeLeadingSorted	(xmlNodeSetPtr nodes, 
xmlNodePtr node)

Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set)

-
nodes:a node-set, sorted by document order
node:a node
Returns:the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node

Function: xmlXPathNodeSetAdd

void	xmlXPathNodeSetAdd		(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
nodes:a node-set, sorted by document order
node:a node
Returns:the nodes in @nodes that precede @node in document order, @nodes if @node is NULL or an empty node-set if @nodes doesn't contain @node

Function: xmlXPathNodeSetAdd

int	xmlXPathNodeSetAdd		(xmlNodeSetPtr cur, 
xmlNodePtr val)

add a new xmlNodePtr to an existing NodeSet

-
cur:the initial node set
val:a new xmlNodePtr

Function: xmlXPathNodeSetAddNs

void	xmlXPathNodeSetAddNs		(xmlNodeSetPtr cur, 
xmlNodePtr node,
xmlNsPtr ns)
+
cur:the initial node set
val:a new xmlNodePtr
Returns:0 in case of success, and -1 in case of error

Function: xmlXPathNodeSetAddNs

int	xmlXPathNodeSetAddNs		(xmlNodeSetPtr cur, 
xmlNodePtr node,
xmlNsPtr ns)

add a new namespace node to an existing NodeSet

-
cur:the initial node set
node:the hosting node
ns:a the namespace node

Function: xmlXPathNodeSetAddUnique

void	xmlXPathNodeSetAddUnique	(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
cur:the initial node set
node:the hosting node
ns:a the namespace node
Returns:0 in case of success and -1 in case of error

Function: xmlXPathNodeSetAddUnique

int	xmlXPathNodeSetAddUnique	(xmlNodeSetPtr cur, 
xmlNodePtr val)

add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set.

-
cur:the initial node set
val:a new xmlNodePtr

Function: xmlXPathNodeSetContains

int	xmlXPathNodeSetContains		(xmlNodeSetPtr cur, 
xmlNodePtr val)
+
cur:the initial node set
val:a new xmlNodePtr
Returns:0 in case of success and -1 in case of failure

Function: xmlXPathNodeSetContains

int	xmlXPathNodeSetContains		(xmlNodeSetPtr cur, 
xmlNodePtr val)

checks whether @cur contains @val

cur:the node-set
val:the node
Returns:true (1) if @cur contains @val, false (0) otherwise

Function: xmlXPathNodeSetDel

void	xmlXPathNodeSetDel		(xmlNodeSetPtr cur, 
xmlNodePtr val)

Removes an xmlNodePtr from an existing NodeSet