xml.Serializer.StaxToVariable

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

Syntax

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

Usage

This method serializes a XML element node into a BDL variable using a StaxReader object.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).