kodi
|
The PLT_XmlHelper class is a set of utility functions for manipulating xml documents and DOM trees. More...
#include <PltUtilities.h>
Static Public Member Functions | |
static NPT_Result | Parse (const NPT_String &xml, NPT_XmlElementNode *&tree) |
static NPT_Result | GetChildText (NPT_XmlElementNode *node, const char *tag, NPT_String &value, const char *namespc="", NPT_Cardinal max_size=1024) |
static NPT_Result | RemoveAttribute (NPT_XmlElementNode *node, const char *name, const char *namespc="") |
static NPT_Result | GetAttribute (NPT_XmlElementNode *node, const char *name, NPT_XmlAttribute *&attr, const char *namespc="") |
static NPT_Result | GetAttribute (NPT_XmlElementNode *node, const char *name, NPT_String &value, const char *namespc="", NPT_Cardinal max_size=1024) |
static NPT_Result | SetAttribute (NPT_XmlElementNode *node, const char *name, const char *value, const char *namespc="") |
static NPT_Result | AddChildText (NPT_XmlElementNode *node, const char *tag, const char *text, const char *prefix=NULL) |
static bool | IsMatch (const NPT_XmlNode *const &node, const char *tag, const char *namespc_mapped) |
static NPT_Result | GetChildren (NPT_XmlElementNode *node, NPT_Array< NPT_XmlElementNode *> &children, const char *tag, const char *namespc="") |
static NPT_XmlElementNode * | GetChild (NPT_XmlElementNode *node, const char *tag, const char *namespc="") |
static NPT_Result | GetChild (NPT_XmlElementNode *parent, NPT_XmlElementNode *&child, NPT_Ordinal n=0) |
static NPT_Result | Serialize (NPT_XmlNode &node, NPT_String &xml, bool add_header=true, NPT_Int8 indentation=0) |
static NPT_String | Serialize (NPT_XmlNode &node, bool add_header=true, NPT_Int8 indentation=0) |
The PLT_XmlHelper class is a set of utility functions for manipulating xml documents and DOM trees.