30 #ifndef _RL_XML_NAMESPACE_H_
31 #define _RL_XML_NAMESPACE_H_
34 #include <boost/shared_ptr.hpp>
35 #include <libxml/parser.h>
49 Namespace(xmlNodePtr node, const ::std::string& href, const ::std::string& prefix) :
53 reinterpret_cast< const xmlChar* >(href.c_str()),
54 reinterpret_cast< const xmlChar* >(prefix.c_str())
58 this->
ns->_private = node;
63 if (NULL == this->
ns->_private)
71 return reinterpret_cast< const char*
>(this->
ns->href);
76 return reinterpret_cast< const char*
>(this->
ns->prefix);
92 #endif // _RL_XML_NAMESPACE_H_