MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlXPathNodeTrailing

Function xmlXPathNodeTrailing

ThirdParty/libxml2/vtklibxml2/xpath.c:3838–3842  ·  view source on GitHub ↗

* xmlXPathNodeTrailing: * @nodes: a node-set * @node: a node * * Implements the EXSLT - Sets trailing() function: * node-set set:trailing (node-set, node-set) * @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted * is called. * * Returns the nodes in @nodes that follow @node in document order, * @nodes if @node is NULL or an empty node-set if @nodes *

Source from the content-addressed store, hash-verified

3836 * doesn't contain @node
3837 */
3838xmlNodeSetPtr
3839xmlXPathNodeTrailing (xmlNodeSetPtr nodes, xmlNodePtr node) {
3840 xmlXPathNodeSetSort(nodes);
3841 return(xmlXPathNodeTrailingSorted(nodes, node));
3842}
3843
3844/**
3845 * xmlXPathTrailingSorted:

Callers

nothing calls this directly

Calls 2

xmlXPathNodeSetSortFunction · 0.85

Tested by

no test coverage detected