* xmlXPathTrailingSorted: * @nodes1: a node-set, sorted by document order * @nodes2: a node-set, sorted by document order * * Implements the EXSLT - Sets trailing() function: * node-set set:trailing (node-set, node-set) * * Returns the nodes in @nodes1 that follow the first node in @nodes2 * in document order, @nodes1 if @nodes2 is NULL or empty or * an empty node-set
| 3854 | * an empty node-set if @nodes1 doesn't contain @nodes2 |
| 3855 | */ |
| 3856 | xmlNodeSetPtr |
| 3857 | xmlXPathTrailingSorted (xmlNodeSetPtr nodes1, xmlNodeSetPtr nodes2) { |
| 3858 | if (xmlXPathNodeSetIsEmpty(nodes2)) |
| 3859 | return(nodes1); |
| 3860 | return(xmlXPathNodeTrailingSorted(nodes1, |
| 3861 | xmlXPathNodeSetItem(nodes2, 0))); |
| 3862 | } |
| 3863 | |
| 3864 | /** |
| 3865 | * xmlXPathTrailing: |
nothing calls this directly
no test coverage detected