SaveXMLtoDim Method (TREEVIEW)


9.3A, PLBCMP GUI Only

 

The SaveXMLtoDim method stores the contents of a TREEVIEW object into a DIM variable. The method uses the following format:

 

 

[label]

{object}.SaveXMLtoDim

[GIVING {return}] USING [*Options=]{options}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TREEVIEW object that is accessed.

return

Optional. A Character String Variable that receives the XML data from the TREEVIEW object.

options

Optional. A decimal number or Numeric Variable that specifies the load options.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The ZERO and OVER Condition Flags are always cleared.

  2. The EOS Condition Flag is set when the XML data is truncated and {return} is specified.

  3. The {options} are the same as the SaveXmlFile method for the TREEVIEW object.

  4. The error values for the SaveXmlToDim method are the same as the SaveXmlFile method. When an error occurs for the SaveXmlToDim method, the error value is returned in the {return} variable as follows:

  5.  

         Error: {nnn}

     

         Where:

         nnn

         is the error value returned as a decimal number.

 

 

See Also: Method Syntax, TREEVIEW Methods

 



PL/B Language Reference SaveXMLFile Method (TREEVIEW) SelectItem Method (TREEVIEW)