A string containing the row data content of the DataWindow object in XML format.
DataWindows
PowerBuilder dot notation:
dw_control.Object.DataWindow.Data.XML
Describe argument:
"DataWindow.Data.XML"
If any of the Export.XML properties have been set, the string that is generated reflects the values of these properties.
If Export.XML.SaveMetaData is set to MetaDataExternal!, no metadata is generated in the string.
The following statements set the template used by the DataWindow dw1 to t_report, specify that metadata in the XMLSchema! format should be included in the generated XML, and return the generated XML document to the string ls_xml.
string ls_xml dw1.Modify("DataWindow.Export.XML.UseTemplate = 't_report'") dw1.Modify("DataWindow.Export.XML.SaveMetaData = MetaDataInternal!") dw1.Modify ("DataWindow.Export.XML.MetaDataType = XMLSchema!") ls_xml = dw1.Object.DataWindow.Data.XML