xml.Serializer.CreateXmlSchemas

Creates XML schemas corresponding to the given variable, and fills a dynamic array with xml.DomDocument objects each representing a XML schema.

Syntax

xml.Serializer.CreateXmlSchemas(
   var fgl-type,
   schemas RECORD )
  1. var is any Genero BDL data type. Or it can be a structured type, like a RECORD or ARRAY, including elements with these data types. Optional XML mapping attributes can be added to the definition of variables for XML serialization.
  2. schemas is a dynamic array of xml.DomDocument objects, each representing an XML schema.

Usage

Use this method to create XML schemas corresponding to the given variable var, and fill the dynamic array schemas with xml.DomDocument objects each representing a XML schema.

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