GetXml: Variant;
The GetXml method returns the internal representation of the repository object as the XML.
This method returns that representation of objects in which they are stored in the system tables of the repository.
Executing the example requires that the repository contains an object with the Obj1 identifier.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
xml: IXmlDomDocument;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Obj1").Bind;
xml := MObj.GetXml As IXmlDomDocument;
Debug.WriteLine(xml.xml);
End Sub UserProc;
After executing the example the XML representation of the object will be output to the development environment console.
See also: