IStatMethod.SaveToXML

Syntax

SaveToXML(Element: IXmlDomElement);

Parameters

Element. The object, to which method parameters are saved as an XML code.

Description

The SaveToXML method unloads statistical method settings to XML code.

Example

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:

IStatMethod