6 #include <xercesc/util/XMLString.hpp> 13 { parent_.push_back(
NodeName(
"TinyDom")); }
26 const XMLCh*
const name,
27 const XMLCh*
const qname,
30 char * strx = XMLString::transcode(name);
34 for (
unsigned int i = 0;
i < atts.getLength(); ++
i) {
35 char* aname = XMLString::transcode(atts.getLocalName(
i));
36 char*
value = XMLString::transcode(atts.getValue(
i));
44 dom_.addEdge(parent_.back(), nm , al);
47 parent_.push_back(nm);
53 const XMLCh*
const name,
54 const XMLCh*
const qname)
62 char*
id = XMLString::transcode(e.getSystemId());
63 char*
message = XMLString::transcode(e.getMessage());
64 cerr <<
"\nError at file " <<
id 65 <<
", line " << e.getLineNumber()
66 <<
", char " << e.getColumnNumber()
67 <<
"\n Message: " << message << 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)
void error(const SAXParseException &e)
std::map< AttName, AttValue > AttList
const TinyDom & dom() const
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException