DOM and SAX built-in classes
The DOM and SAX APIs both contain a set of built-in classes.
The DOM API is composed of:
- The
om.DomDocumentclass, that defines the interface to a DOM document. Instances of this class can be used to identify and manipulate an XML tree. DomNode object manipulation methods are provided by this class. - The
om.DomNodeclass, that defines the interface to an DOM node. Instances of this class can be used to identify and manipulate a branch of an XML tree. Child nodes and node attributes management methods are provided by this class. - The
om.NodeListclass, to handle a list of DomNode objects.
The SAX API is composed of:
- The
om.SaxAttributesclass represents a set of element attributes. It is used with anom.XmlReaderor anom.XmlWriterobject. - The
om.XmlReaderclass, that is defined to read XML. The XML document processing is based on SAX events. - The
om.XmlWriterclass, that is defined to write XML. The XML document processing is based on SAX events. - The
om.SaxDocumentHandlerclass, which provides an interface to implement a SAX driver using functions defined in a .4gl module loaded dynamically.