xml.Serializer.VariableToStax
Serializes a BDL variable into a XML element node using a StaxWriter object.
Syntax
xml.Serializer.VariableToStax(
var RECORD,
stax xml.StaxWriter )
- var is any Genero BDL variable with optional XML mapping attributes.
- stax is a StaxWriter object.
Usage
This method serializes a BDL variable into a XML element node using a StaxReader object.
The resulting XML element node of the serialization process will be added at the current cursor position of the StaxWriter 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).