47 #ifndef _profxml_XercesUtil_ 48 #define _profxml_XercesUtil_ 56 #include <xercesc/sax2/Attributes.hpp> 58 #include <xercesc/util/XMLString.hpp> 71 getAttr(
const XERCES_CPP_NAMESPACE::Attributes& attributes,
int i);
74 getAttr(
const XERCES_CPP_NAMESPACE::Attributes& attributes,
75 const XMLCh*
const attr);
77 static inline std::string
81 char* c_str = XERCES_CPP_NAMESPACE::XMLString::transcode(xmlStr);
82 std::string str(c_str);
83 XERCES_CPP_NAMESPACE::XMLString::release(&c_str);
std::string getAttr(const XERCES_CPP_NAMESPACE::Attributes &attributes, int i)
static std::string make_string(const XMLCh *const xmlStr)