1 #ifndef CALIBRATIONXML_H
2 #define CALIBRATIONXML_H
4 #include <xercesc/util/XMLString.hpp>
5 #include <xercesc/dom/DOM.hpp>
6 #include <xercesc/dom/DOMElement.hpp>
9 #include <xercesc/sax/HandlerBase.hpp>
10 #include <xercesc/parsers/XercesDOMParser.hpp>
17 typedef XERCES_CPP_NAMESPACE::DOMNode
DOMNode;
56 XMLCh *nameStr = XMLString::transcode(
name.c_str());
57 XMLCh *valueStr = XMLString::transcode(
buffer.str().c_str());
58 dom->setAttribute(nameStr, valueStr);
68 XMLCh *nameStr = XMLString::transcode(
name.c_str());
69 char *valueStr = XMLString::transcode(
dom->getAttribute(nameStr));
70 std::istringstream
buffer(valueStr);