4 #include <xercesc/sax2/Attributes.hpp>
5 #include <xercesc/sax/SAXParseException.hpp>
6 #include <xercesc/sax/SAXException.hpp>
14 { parent_.push_back(
NodeName(
"TinyDom")); }
27 const XMLCh*
const name,
28 const XMLCh*
const qname,
35 for (
unsigned int i = 0;
i < atts.getLength(); ++
i) {
36 const XMLCh* aname = atts.getLocalName(
i);
37 const XMLCh*
value = atts.getValue(
i);
43 dom_.addEdge(parent_.back(), nm , al);
46 parent_.push_back(nm);
51 const XMLCh*
const name,
52 const XMLCh*
const qname)
60 cerr <<
"\nError at file " <<
StrX(e.getSystemId())
61 <<
", line " << e.getLineNumber()
62 <<
", char " << e.getColumnNumber()
63 <<
"\n Message: " <<
StrX(e.getMessage()) << endl;
XERCES_CPP_NAMESPACE::Attributes Attributes
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)
void endElement(const XMLCh *const uri, const XMLCh *const name, const XMLCh *const qname)
const char * localForm() const
void error(const SAXParseException &e)
std::map< AttName, AttValue > AttList
const TinyDom & dom() const
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException