Description
A string containing the row data content of the DataWindow object in XML format.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
dw_control.Object.DataWindow.Data.XML
Describe argument:
"DataWindow.Data.XML"
Usage
If any of the Export.XML properties have been set, the string that is generated reflects the values of these properties.
Note
If Export.XML.SaveMetaData is set to MetaDataExternal!, no metadata is generated in the string.
Examples
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