Built-in packages / The base package |
The base.TypeInfo class creates a DOM node from a structured program variable.
This class does not have to be instantiated.
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.