X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8da6b7cef55cc0fa4a02938919fc790836d380d..daf5b37afdda9e8ab7f909e01ffd6387219a80ea:/docs/latex/wx/xmldocument.tex?ds=sidebyside diff --git a/docs/latex/wx/xmldocument.tex b/docs/latex/wx/xmldocument.tex index d73740818b..94574c9e0a 100644 --- a/docs/latex/wx/xmldocument.tex +++ b/docs/latex/wx/xmldocument.tex @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% Name: xmlnode.tex +%% Name: xmldocument.tex %% Purpose: wxXmlDocument documentation %% Author: Francesco Montorsi %% Created: 2006-04-18 @@ -36,12 +36,12 @@ while (child) { ... - // process properties of - wxString propvalue1 = - child->GetPropVal(wxT("prop1"), + // process attributes of + wxString attrvalue1 = + child->GetAttribute(wxT("attr1"), wxT("default-value")); - wxString propvalue2 = - child->GetPropVal(wxT("prop2"), + wxString attrvalue2 = + child->GetAttribute(wxT("attr2"), wxT("default-value")); ... @@ -84,9 +84,13 @@ doc.Save(wxT("myfile2.xml")); // myfile2.xml != myfile.xml +\wxheading{Library} + +\helpref{wxXml}{librarieslist} + \wxheading{See also} -\helpref{wxXmlNode}{wxxmlnode}, \helpref{wxXmlProperty}{wxxmlproperty} +\helpref{wxXmlNode}{wxxmlnode}, \helpref{wxXmlAttribute}{wxxmlattribute} \latexignore{\rtfignore{\wxheading{Members}}} @@ -166,7 +170,7 @@ Returns the root node of the document. Returns the version of document. This is the value in the {\tt } header of the XML document. -If the version property was not explicitely given in the header, this function +If the version attribute was not explicitely given in the header, this function returns an empty string.