xmlpp::Element*
-cxml::add_child(xmlpp::Element* parent, string const& name)
+cxml::add_child(xmlpp::Element* parent, string const& name, string const& ns_prefix)
{
- return parent->add_child(name);
+ return parent->add_child(name, ns_prefix);
}
};
-xmlpp::Element* add_child(xmlpp::Element* parent, std::string const& name);
+xmlpp::Element* add_child(xmlpp::Element* parent, std::string const& name, std::string const& ns_prefix = {});
void add_text_child(xmlpp::Element* parent, std::string const& name, std::string const& text);