The SaxDocumentHandler class
The om.SaxDocumentHandler
class provides an interface to write an XML
filter with events.
This class follows the SAX standards.
A om.SaxDocumentHandler
object can be used in two different ways:
- To implement an XML SAX filter, based of functions defined in a .4gl
module, by using the
createForName()
class method. - To write an XML document to a file, process or socket output, by using
om.XmlWriter
creation methods, and theom.SaxDocumentHandler
processing methods.
The om.SaxDocumentHandler
class also provides methods to process all SAX
events by hand. This is useful if you want to chain SAX filters.