fixup xml_node::get_text() to avoid returning temporary