1 #ifndef DQMParserBase_H
2 #define DQMParserBase_H
12 #include <xercesc/dom/DOM.hpp>
13 #include <xercesc/dom/DOMCharacterData.hpp>
14 #include <xercesc/parsers/XercesDOMParser.hpp>
16 #include <xercesc/framework/LocalFileFormatTarget.hpp>
17 #include <xercesc/util/XMLUni.hpp>
18 #include <xercesc/util/XMLURL.hpp>
19 #include <xercesc/framework/MemBufInputSource.hpp>
45 xercesc::DOMDocument*
doc(){
return parser->getDocument();}
void getDocument(std::string configFile, bool UseDB=false)
Methor that parses the xml file configFile.
int countNodes(std::string tagName)
Returns the number of nodes with given name.
void getNewDocument(std::string configFile, bool UseDB=false)
Parses a new Document.
virtual ~DQMParserBase()
Destructor.
xercesc::XercesDOMParser * parser
xercesc::DOMDocument * doc()
DOM Document.