diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cxml.cc | 4 | ||||
| -rw-r--r-- | src/cxml.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cxml.cc b/src/cxml.cc index 814a558..75da11f 100644 --- a/src/cxml.cc +++ b/src/cxml.cc @@ -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); } @@ -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); |
