3 #include <xercesc/util/XMLString.hpp> 17 parent_.emplace_back(nm);
25 const XMLCh*
const name,
26 const XMLCh*
const qname,
28 char* strx = XMLString::transcode(
name);
31 for (
unsigned int i = 0;
i < atts.getLength(); ++
i) {
32 char* aname = XMLString::transcode(atts.getLocalName(
i));
33 char*
value = XMLString::transcode(atts.getValue(
i));
41 Node2 par = parent_.back();
44 parent_.emplace_back(nm);
54 char*
id = XMLString::transcode(
e.getSystemId());
55 char* message = XMLString::transcode(
e.getMessage());
56 cerr <<
"\nError at file " <<
id <<
", line " <<
e.getLineNumber() <<
", char " <<
e.getColumnNumber()
57 <<
"\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
const TinyDom2 & dom() const
XERCES_CPP_NAMESPACE::Attributes Attributes
void endElement(const XMLCh *uri, const XMLCh *name, const XMLCh *qname) override