3 #include <xercesc/util/XMLString.hpp> 18 parent_.emplace_back( nm );
32 const XMLCh*
const name,
33 const XMLCh*
const qname,
36 char * strx = XMLString::transcode(name);
39 for (
unsigned int i = 0;
i < atts.getLength(); ++
i)
41 char* aname = XMLString::transcode(atts.getLocalName(
i));
42 char*
value = XMLString::transcode(atts.getValue(
i));
50 Node2 par = parent_.back();
53 parent_.emplace_back(nm);
59 const XMLCh*
const name,
60 const XMLCh*
const qname)
68 char*
id = XMLString::transcode(e.getSystemId());
69 char* message = XMLString::transcode(e.getMessage());
70 cerr <<
"\nError at file " <<
id 71 <<
", line " << e.getLineNumber()
72 <<
", char " << e.getColumnNumber()
73 <<
"\n Message: " << message << endl;
void error(const SAXParseException &e) override
std::map< TagName, TagName > AttList2
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
std::pair< TagName, AttList2 > Node2
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override
XERCES_CPP_NAMESPACE::Attributes Attributes
const TinyDom2 & dom() const
void endElement(const XMLCh *uri, const XMLCh *name, const XMLCh *qname) override