Dec 7, 2015

Generate Xml file for XDS class in AX


static void GenerateXSDSchema_AxdCustTable(Args _args)
{

AxdCustTable    AxdCustTable;
XML             xml;
XMLDocument     xmlDocument;

;
AxdCustTable = AxdBase::newClassId(classnum(AxdCustTable));
xml          = AxdCustTable.getSchema();
xmlDocument  = XMLDocument::newXML(xml);
 
//TODO Select file to write XML output to
xmlDocument.save("D:\\XSDSchema_AxdCustTable.xml");

}