diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-22 00:23:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-22 00:23:47 +0100 |
| commit | a0ca8f600cd5bbf3b942b276fc870083de4e1b0a (patch) | |
| tree | f910c0174b753882f302ca1a23b065189a4bcf9d /src/cxml.cc | |
| parent | 42ae34df3c11483a798bfa01a31b9494fc8d8315 (diff) | |
Add ns_prefix parameter to add_child().
Diffstat (limited to 'src/cxml.cc')
| -rw-r--r-- | src/cxml.cc | 4 |
1 files changed, 2 insertions, 2 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); } |
