+ Parses @a filename as an xml document and loads its data.
+
+ If @a flags does not contain wxXMLDOC_KEEP_WHITESPACE_NODES, then, while loading,
+ all nodes of type @c wxXML_TEXT_NODE (see wxXmlNode) are automatically skipped
+ if they contain whitespaces only.
+
+ The removal of these nodes makes the load process slightly faster and requires
+ less memory however makes impossible to recreate exactly the loaded text with a
+ Save() call later. Read the initial description of this class for more info.
+
+ Returns true on success, false otherwise.
+ */
+ virtual bool Load(const wxString& filename,
+ const wxString& encoding = wxT("UTF-8"), int flags = wxXMLDOC_NONE);
+
+ /**
+ Like Load(const wxString&, const wxString&, int) but takes the data from
+ given input stream.
+ */
+ virtual bool Load(wxInputStream& stream,
+ const wxString& encoding = wxT("UTF-8"), int flags = wxXMLDOC_NONE);
+
+ /**
+ Saves XML tree creating a file named with given string.
+
+ If @a indentstep is greater than or equal to zero, then, while saving,
+ an automatic indentation is added with steps composed by indentstep spaces.
+
+ If @a indentstep is @c wxXML_NO_INDENTATION, then, automatic indentation
+ is turned off.