8 #include <xercesc/util/XMLString.hpp> 19 parent_.push_back( nm );
33 const XMLCh*
const name,
34 const XMLCh*
const qname,
37 char * strx = XMLString::transcode(name);
40 for (
unsigned int i = 0;
i < atts.getLength(); ++
i)
42 char* aname = XMLString::transcode(atts.getLocalName(
i));
43 char*
value = XMLString::transcode(atts.getValue(
i));
51 Node2 par = parent_.back();
54 parent_.push_back(nm);
60 const XMLCh*
const name,
61 const XMLCh*
const qname)
69 char*
id = XMLString::transcode(e.getSystemId());
70 char*
message = XMLString::transcode(e.getMessage());
71 cerr <<
"\nError at file " <<
id 72 <<
", line " << e.getLineNumber()
73 <<
", char " << e.getColumnNumber()
74 <<
"\n Message: " << message << endl;
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
void error(const SAXParseException &e)
XERCES_CPP_NAMESPACE::Attributes Attributes
void endElement(const XMLCh *const uri, const XMLCh *const name, const XMLCh *const qname)
std::pair< TagName, AttList2 > Node2
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)
const TinyDom2 & dom() const
std::map< TagName, TagName > AttList2