Data.XML

Description

A string containing the row data content of the DataWindow object in XML format.

Applies to

DataWindows

Syntax

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.

NoteIf Export.XML.SaveMetaData is set to MetaDataExternal!, no metadata is generated in the string.

Examples

Example 1

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.

dw1.Modify("DataWindow.Export.XML.UseTemplate =
   't_report'")
dw1.Modify("DataWindow.Export.XML.SaveMetaData =
   MetaDataInternal!")
dw1.Modify
   ("DataWindow.Export.XML.MetaDataType = XMLSchema!")