xml.Serializer.VariableToDom

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

Syntax

xml.Serializer.VariableToDom(
   var RECORD,
   node xml.DomNode )
  1. var is any Genero BDL variable with optional XML mapping attributes.
  2. node is a DomNode object of type ELEMENT_NODE or DOCUMENT_FRAGMENT_NODE.

Usage

This method serializes a BDL variable into a XML element node using a DomNode object. The resulting XML element node of the serialization process will be appended to the last child of the given node.

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