Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
|
Interface to interact with XML document. More...
#include <src/api/mip/xml_document.h>
Public Member Functions | |
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. | |
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. | |
Interface to interact with XML document.
Definition at line 49 of file xml_document.h.
|
pure virtual |
Get the node that is an ancestor of all other nodes.
|
pure virtual |
Parse an xml formatted buffer into an xmldocument.
|
pure virtual |
Get matching xml nodes from a specified xpath.
Will throw exception of type mip::BadInputError if xml nodes cannot be parsed, there is an invalid encoding, or the xpath cannot be interpreted
xpath | The path to search the xml document for the node |
node | Specify children of a specific node |