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.DomDocument
class, 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.DomNode
class, 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.NodeList
class, to handle a list of DomNode objects.
The SAX API is composed of:
- The
om.SaxAttributes
class represents a set of element attributes. It is used with anom.XmlReader
or anom.XmlWriter
object. - The
om.XmlReader
class, that is defined to read XML. The XML document processing is based on SAX events. - The
om.XmlWriter
class, that is defined to write XML. The XML document processing is based on SAX events. - The
om.SaxDocumentHandler
class, which provides an interface to implement a SAX driver using functions defined in a .4gl module loaded dynamically.