{
return locale_convert<double> (make_local(v));
}
+
+
+xmlpp::Element*
+cxml::add_child(xmlpp::Element* parent, string const& name)
+{
+ return parent->add_child(name);
+}
+
+
+void
+cxml::add_text_child(xmlpp::Element* parent, string const& name, string const& text)
+{
+ parent->add_child(name)->add_child_text(text);
+}
namespace xmlpp {
class DomParser;
+ class Element;
class Node;
}
std::string _root_name;
};
+
+xmlpp::Element* add_child(xmlpp::Element* parent, std::string const& name);
+void add_text_child(xmlpp::Element* parent, std::string const& name, std::string const& text);
+
+
}
#endif