![]() |
zeep::xml::xpath
// In header: <zeep/xml/xpath.hpp> class xpath { public: // construct/copy/destruct (); (); (xpath &); xpath & (xpath &); ~(); // public member functions template<typename NODE_TYPE> (node &) ; template<typename NODE_TYPE> (node &, context &) ; (node *) ; (); };
The actual xpath implementation. It expects an xpath in the constructor and this path must be UTF-8 encoded.
xpath
public member functionstemplate<typename NODE_TYPE> (node & root) ;
evaluate returns a node_set. If you're only interested in zeep::xml::element
results, you should call the evaluate<element>() instantiation.
template<typename NODE_TYPE> (node & root, context & ctxt) ;The second evaluate method is used for xpaths that contain variables.
(node * n) ;Returns true if the n node matches the XPath.
();debug routine, dumps the parse tree to stdout