1 #ifndef IsisXMLHandler_h
2 #define IsisXMLHandler_h
10 #include <xercesc/sax2/DefaultHandler.hpp>
12 namespace XERCES = XERCES_CPP_NAMESPACE;
19 using XERCES::DefaultHandler::ignorableWhitespace;
23 ContentHandler *prevDocHandler;
24 ErrorHandler *prevErrorHandler;
29 bool &PexpandNamespaces,
30 XERCES::SAX2XMLReader* &Pparser,
34 bool &PexpandNamespaces,
35 XERCES::SAX2XMLReader* &Pparser);
41 void endElement(
const XMLCh *
const uri,
42 const XMLCh *
const localname,
43 const XMLCh *
const qname);
45 void characters(
const XMLCh *
const chars,
46 const XMLSize_t length);
48 void ignorableWhitespace(
const XMLCh *
const chars,
49 const unsigned int length);
51 void processingInstruction(
const XMLCh *
const target,
52 const XMLCh *
const data);
56 void startElement(
const XMLCh *
const uri,
57 const XMLCh *
const localname,
58 const XMLCh *
const qname,
59 const XERCES::Attributes &attributes);
63 void warning(
const XERCES::SAXParseException &exception);
64 void error(
const XERCES::SAXParseException &exception);
65 void fatalError(
const XERCES::SAXParseException &exception);
72 bool expandNamespaces;
73 XERCES::SAX2XMLReader *parser;