The TypeInfo class

The base.TypeInfo class creates a DOM node from a structured program variable.

This class does not have to be instantiated.

Steps to use the class:

For example. to convert a list of database records to XML, fetch rows from a database table in a structured array, specify the array as the input parameter for the base.TypeInfo.create() method to create a new base.DomNode object, and serialize the resulting DOM node to a file by using the node.writeXml() method. You can then pass the resulting file to any application that is able to read XML for input.

Note: Consider using the JSON interface to serialize and de-serialize program variables.