32#ifndef API_MIP_XML_DOCUMENT_H_
33#define API_MIP_XML_DOCUMENT_H_
61 const std::string& xpath,
62 const std::shared_ptr<XmlNode>& node =
nullptr)
const = 0;
Interface to interact with XML document.
virtual std::vector< std::shared_ptr< XmlNode > > SelectNodes(const std::string &xpath, const std::shared_ptr< XmlNode > &node=nullptr) const =0
Get matching xml nodes from a specified xpath.
virtual std::shared_ptr< XmlNode > GetRootNode() const =0
Get the node that is an ancestor of all other nodes.
virtual std::string GetXmlContent() const =0
Parse an xml formatted buffer into an xmldocument.
Contains XmlNode interface definition used to interact with xml parsers.