Suppose you have an XML document for a dataset, but you have no XML Schema for it. You can call the READ-XML( ) method on a ProDataSet handle and create a dynamic ProDataSet object in ABL.
Using READ-XML( ) on a ProDataSet object will create a ProDataSet named myDataSet with three temp-table buffers: Department, Employee and Family. The Department temp-table has two CHARACTER fields: DeptCode and DeptName. The Employee temp-table has six CHARACTER fields: EmpNum, DeptCode, LastName, FirstName, Address and City. The Family temp-table has four CHARACTER fields: RelativeName, Relation, IncludedOnBenefits, and EmpNum.
Using READ-XML( ) on a temp-table object will fail, since there is more than one temp-table represented in the XML document.