00001
00002
00007 #ifndef __HELLO_H__
00008 #define __HELLO_H__
00009
00010 #include <string>
00011
00012 #include "libepp_nicbr.H"
00013
00014 LIBEPP_NICBR_NS_BEGIN
00015
00016 using std::string;
00017
00019 class Hello
00020 {
00021 public:
00023 Hello()
00024 {
00025 _xml =
00026 "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>"
00027 "<epp xmlns=\"urn:ietf:params:xml:ns:epp-1.0\" "
00028 "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "
00029 "xsi:schemaLocation=\"urn:ietf:params:xml:ns:epp-1.0 "
00030 "epp-1.0.xsd\">"
00031 "<hello/>"
00032 "</epp>";
00033 };
00034
00036
00039 string get_xml_format() { return _xml; }
00040
00041 protected:
00043 string _xml;
00044
00045 };
00046
00047 LIBEPP_NICBR_NS_END
00048 #endif //__HELLO_H__