#include <stdexcept>
#include <sstream>
-#include "xmlwriter.h"
+#include "xmlwriter.hpp"
XmlWriter::XmlWriter(std::ostream& outstream)
: out(outstream), indent(0)
throw std::runtime_error(msg.str());
}
sections.pop_back();
-
+
indent--;
newLine();
// XXX: We should check for consistency here
if (closetag != "")
out << closetag << "\n";
}
-