2#ifndef CHEPREP_XMLWRITER_H
3#define CHEPREP_XMLWRITER_H 1
28 void openDoc(std::string version =
"1.0", std::string
encoding =
"",
bool standalone =
false);
29 void referToDTD(std::string name, std::string pid, std::string ref);
30 void referToDTD(std::string name, std::string system);
34 void print(std::string text);
41 void setAttribute(std::string name, std::vector<double> value);
75 std::map<std::string, std::string> attributes;
76 std::stack<std::string> openTags;
std::string defaultNameSpace
void printComment(std::string comment)
void checkNameValid(std::string s)
void openTag(std::string name)
IndentPrintWriter * writer
void print(std::string text)
void setAttribute(std::string ns, std::string name, std::string value)
void openTag(std::string ns, std::string name)
std::string normalize(std::string s)
std::string normalizeText(std::string s)
void setAttribute(std::string ns, std::string name, double value)
void openDoc(std::string version="1.0", std::string encoding="", bool standalone=false)
void closeDoc(bool force=false)
void referToDTD(std::string name, std::string pid, std::string ref)
void printTag(std::string ns, std::string name)
void setAttribute(std::string name, char *value)
void printAttributes(int tagLength)
void printTag(std::string name)
void println(std::string text)
void printPlain(std::string text)