00001 #ifndef XMLUTILS_H 00002 #define XMLUTILS_H 00003 00004 #include <abuse/abuse.h> 00005 #include "MsXml.h" 00006 00007 00008 namespace XmlUtils 00009 //contains useful functions to manipulate xml docs 00010 { 00011 00012 std::string getAttribute(const ElementPtr& el,const std::string& attrname) throw(std::runtime_error); 00013 void setAttribute(ElementPtr& el,const std::string& attrname,const std::string& attrvalue); 00014 } 00015 00016 #endif //XMLUTILS_H