Add ns_prefix parameter to add_child().
[libcxml.git] / src / cxml.h
index 417662294497594b220d4776a05bcfec116f1a7e..e6130399bef0d84eab6625e6af9308273cd4e6df 100644 (file)
@@ -271,7 +271,7 @@ private:
 };
 
 
-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);