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 on 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.
Important:
Build-in XML support classes om.*
have known limitations. Refere to the Limitations of XML built-in classes page for more details.