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