cout << "Time (apply" << i << "): " << final - init << " us" << endl << endl;
if (xpath.isEmpty () == false) {
if (i == 0) {
- const xml::Node* node;
for (Node::const_child_iterator ii = xpath.node_begin (), maxii = xpath.node_end (); ii != maxii; ii ++)
cout << xmlCompiler.apply (XPath::node (ii)) << endl;
}
cout << "match: no node matching expression" << endl << endl;
xpath.apply (xmlDoc, expression, mode);
- const xml::Node* node;
for (Node::const_child_iterator ii = xpath.node_begin (), maxii = xpath.node_end (); ii != maxii; ii ++)
cout << xmlCompiler.apply (XPath::node (ii), xml::Compiler::Mode::Compact | xml::Compiler::Mode::NoNamespaces) << endl;
}