
28 Mar
2010
28 Mar
'10
9 a.m.
Hi Igor, Thanks for your reply.
You have to cast &Node::get_parent explicitly to one of the available overloads, to resolve ambiguity.
Any pointers on how to do this? My compiler keeps complaining. This is
how I cast:
NodeSet nodes_whitespace =
doc->get_root_node()->find("//text()[normalize-space()='']");
for_each(nodes_whitespace.begin(), nodes_whitespace.end(),
bind(&Node::remove_child,
bind(static_cast