Lines Matching refs:nodes
27 void print_xpath_nodes(xmlNodeSetPtr nodes, FILE* output);
199 * @nodes: the nodes set.
202 * Prints the @nodes content to @output.
205 print_xpath_nodes(xmlNodeSetPtr nodes, FILE* output) {
211 size = (nodes) ? nodes->nodeNr : 0;
213 fprintf(output, "Result (%d nodes):\n", size);
215 assert(nodes->nodeTab[i]);
217 if(nodes->nodeTab[i]->type == XML_NAMESPACE_DECL) {
220 ns = (xmlNsPtr)nodes->nodeTab[i];
229 } else if(nodes->nodeTab[i]->type == XML_ELEMENT_NODE) {
230 cur = nodes->nodeTab[i];
239 cur = nodes->nodeTab[i];