00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #ifndef __XMLPARSERH__
00013 #define __XMLPARSERH__
00014
00021 class wxXmlNode;
00022
00023 class wxXMLParser
00024 {
00025 public:
00026
00027 wxXMLParser() { Init(); }
00028 void Init() {}
00029
00031 bool HasParam(wxXmlNode *node, const wxString& param);
00032
00034 wxXmlNode *GetParamNode(wxXmlNode *node, const wxString& param);
00035
00037 wxString GetNodeContent(wxXmlNode *node);
00038
00040 wxString GetParamValue(wxXmlNode *node, const wxString& param);
00041
00042
00046 wxString GetText(wxXmlNode *node, const wxString& param);
00047
00049 wxArrayString FindValues(wxXmlNode* node, const wxString& tag);
00050
00051 protected:
00052 };
00053
00054 #endif
00055