xml.Serializer.DomToVariable

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

Syntax

xml.Serializer.DomToVariable(
   node xml.DomNode,
   var fgl-type )
  1. node is a DomNode object of type ELEMENT_NODE.
  2. var is any BDL variable with optional XML mapping attributes.

Usage

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).