21 #ifndef _XMLSERIALIZERH
22 #define _XMLSERIALIZERH
28 #ifdef HAVE_CONFIG_H //
39 void docdecl(std::string dd);
40 void startDocument(std::string encoding,
48 void entityRef(std::string name);
49 bool getFeature(std::string name);
50 std::string getPrefix(std::string nsp,
bool create);
51 std::string getPrefix(std::string nsp,
55 void ignorableWhitespace(std::string s);
56 void setFeature(std::string name,
bool value);
57 void setPrefix(std::string prefix, std::string nsp);
60 std::string getNamespace();
61 std::string getName();
65 void cdsect(std::string data);
66 void comment(std::string comment);
67 void processingInstruction(std::string pi);
76 std::vector<std::string> elementStack,nspStack;
78 std::vector<int> nspCounts;
80 std::vector<bool> indent;
82 void check(
bool close);
83 void writeEscaped(std::string s,
int quot);
84 void exception (std::string desc);