Add ns_prefix parameter to add_child().
[libcxml.git] / src / cxml.cc
index 814a558815cab8880064dc03fa9d3000204d5e3f..75da11f76749574287e584e27c7330b918950d98 100644 (file)
@@ -473,9 +473,9 @@ cxml::raw_convert (string v)
 
 
 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);
 }