xml.Serializer.StaxToVariable

Serializes an XML element node into a 4GL variable using a StaxReader object.

Syntax

xml.Serializer.StaxToVariable(
   stax xml.StaxReader,
   var VARIABLE )
  1. stax is a StaxReader object where the cursor points to an XML Element node.
  2. var is any 4GL variable with optional XML mapping attributes.

Usage

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.