Add cxml::add_child() and cxml::add_text_child().
[libcxml.git] / src / cxml.h
index 3a8ba14f3638833fff496ded1dd87ad7f0688433..417662294497594b220d4776a05bcfec116f1a7e 100644 (file)
@@ -36,6 +36,7 @@
 
 namespace xmlpp {
        class DomParser;
+       class Element;
        class Node;
 }
 
@@ -269,6 +270,11 @@ private:
        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