XML GET WHITESPACE-FLAGS

This statement has the following parameter:

Description

Parameter

Description

WhitespaceFlags

An identifier of a numeric integer data item where the current whitespace flag settings are to be stored upon successful completion of the statement.

The XML GET WHITESPACE-FLAGS statement retrieves the setting of the XML Extensions flags that are used for whitespace handling during import. Valid flag values are specified in the copy file, lixmldef.cpy. The initial setting of the flags is WHITESPACE-DEFAULT-FLAGS (value 0). The XML SET WHITESPACE-FLAGS statement description lists and describes the possible whitespace flags settings.

Note: The whitespace flag values are provided as 78-level constant-names in lixmldef.cpy. The names are case insensitive and require the use of the hyphen character.

A status value is returned in the data item XML-data-group, which is defined in the copy file, lixmldef.cpy.

Example

XML GET WHITESPACE-FLAGS
   WHITESPACE-FLAGS-SAVE.
IF NOT XML-OK GO TO Z.