xml.Serializer.DomToVariable
Serializes a XML element node into a BDL variable using a DomNode object.
Syntax
xml.Serializer.DomToVariable(
node xml.DomNode,
var fgl-type )
- node is a DomNode object of type
ELEMENT_NODE
. - var is any Genero BDL data type. Or it can be a structured type, like a
RECORD
orARRAY
, including elements with these data types. Optional XML mapping attributes can be added to the definition of variables for XML serialization.
Usage
Use this method to serialize a XML element node defined by node as a DomNode object into a BDL variable.
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).