00001
00025 #ifndef _XMLUTILS_H_INCLUDED_
00026 #define _XMLUTILS_H_INCLUDED_
00027
00028 #include <libxml++/libxml++.h>
00029 #include <string>
00030
00032 xmlpp::Node* getFirstChild(xmlpp::Node* node, const std::string& name);
00033
00035 std::string getChildContent(xmlpp::Node* node);
00036
00037
00039 bool getChildContent(xmlpp::Node* node, const std::string& name, std::string& val);
00040
00042 std::string getPropValue(xmlpp::Node* node, const std::string& name);
00043
00045 xmlpp::Node* addChild(xmlpp::Node* parent, xmlpp::Node* child);
00046
00047
00048 #endif // _XMLUTILS_H_INCLUDED_
00049
00050
00051