32 #include <boost/shared_array.hpp>
33 #include <libxml/xpath.h>
34 #include <libxml/xpathInternals.h>
63 ::xmlXPathRegisteredNsCleanup(this->
context.get());
69 ::xmlXPathEvalExpression(
70 reinterpret_cast<const ::xmlChar*
>(expression.c_str()),
76 ::xmlXPathContextPtr
get()
const
93 return 0 == ::xmlXPathRegisterNs(
95 reinterpret_cast<const ::xmlChar*
>(prefix.c_str()),
96 reinterpret_cast<const ::xmlChar*
>(uri.c_str())
108 ::std::shared_ptr< ::xmlXPathContext>
context;
115 #endif // RL_XML_PATH_H