26 #include <boost/utility.hpp> 27 #include <boost/shared_ptr.hpp> 33 struct _xmlXPathContext;
34 struct _xmlXPathObject;
101 void setDoc(
xmlDoc* pdoc);
102 void setXPathCtx(
xmlDoc* pdoc);
std::string getXmlName(const xmlNodePtr node)
basic_string< char > string
struct _xmlXPathObject xmlXPathObject
Definition: XMLDoc.h:40
std::string getXmlProp(const xmlNodePtr node, const std::string &attrName)
struct _xmlNode xmlNode
Definition: XMLDoc.h:37
std::string getXmlContent(const xmlNodePtr node)
get all text-contents of the node or underlying nodes
static boost::shared_ptr< XMLDoc > fromFile(const std::string &filename)
xmlNode * xmlNodePtr
Definition: XMLDoc.h:39
Definition: C_CDMReader.h:35
struct _xmlDoc xmlDoc
Definition: XMLDoc.h:36
void registerNamespace(const std::string &prefix, const std::string &uri)
register a namespace for later xpath
struct _xmlXPathContext xmlXPathContext
Definition: XMLDoc.h:38
std::string toString(const xmlNodePtr node)
XPathObjPtr getXPathObject(const std::string &xpath, xmlNodePtr node=0) const
static boost::shared_ptr< XMLDoc > fromURL(const std::string &url)
boost::shared_ptr< xmlXPathObject > XPathObjPtr
Definition: XMLDoc.h:45
static boost::shared_ptr< XMLDoc > fromString(const std::string &buffer, const std::string &url="")