Export.XML.IncludeWhitespace

Description

Setting that determines whether the XML document is formatted by inserting whitespace characters (carriage returns, linefeeds, tabs, and spacebar spaces).

Applies to

DataWindow objects

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Export.XML.IncludeWhitespace

Describe and Modify argument:

"DataWindow.Export.XML.IncludeWhitespace { = 'value ' }"

Parameter

Description

value

(exp) Whether the generated XML is formatted with whitespace characters.

Values are:

  • Yes -- Whitespace characters are inserted.

  • No -- Whitespace characters are not inserted (default).


Usage

This property should be set before you export a DataWindow object if you want to view or verify the exported XML using a text editor.

In the painter

In the Data Export tab in the Properties view for the DataWindow object, select XML from the Format to Configure list and select Include Whitespace.

Examples

dw1.Object.DataWindow.Export.XML.IncludeWhitespace = "No"
dw1.Modify("DataWindow.Export.XML.IncludeWhitespace = 'Yes' ")