4 #include <xercesc/sax2/Attributes.hpp>
5 #include <xercesc/sax/SAXParseException.hpp>
6 #include <xercesc/sax/SAXException.hpp>
18 parent_.push_back( nm );
32 const XMLCh*
const name,
33 const XMLCh*
const qname,
39 for (
unsigned int i = 0;
i < atts.getLength(); ++
i)
41 const XMLCh* aname = atts.getLocalName(
i);
42 const XMLCh*
value = atts.getValue(
i);
48 Node2 par = parent_.back();
51 parent_.push_back(nm);
56 const XMLCh*
const name,
57 const XMLCh*
const qname)
65 cerr <<
"\nError at file " <<
StrX(e.getSystemId())
66 <<
", line " << e.getLineNumber()
67 <<
", char " << e.getColumnNumber()
68 <<
"\n Message: " <<
StrX(e.getMessage()) << 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)
const char * localForm() const
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