SaveToXML(Element: IXmlDomElement);
Element. The object, to which method parameters are saved as an XML code.
The SaveToXML method unloads statistical method settings to XML code.
Add links to the Stat and Xml system assemblies.
Sub UserProc;
Var
XmlDoc: IXmlDomDocument3;
el: IXmlDomElement;
Eqs: ISmNonLinearEquations;
Begin
Eqs := New SmNonLinearEquations.Create As ISmNonLinearEquations;
XmlDoc := New FreeThreadedDOMDocument60.Create;
el := XmlDoc.createElement("Root");
XmlDoc.appendChild(el);
Eqs.SaveToXML(el);
XmlDoc.save("C:\NonLinear.xml");
End Sub UserProc;
After executing the example parameters of non-linear equation system calculation are created and saved to the C:\NonLinear.xml file as XML code.
See also: