om.SaxDocumentHandler.readXmlFile

Reads and processes an XML file with the SAX document handler.

Syntax

readXmlFile(
   filename STRING )
  1. filename is the path to an XML formatted file.

Usage

Use the readXmlFile() method after creating the om.SaxDocumentHandler object, to process the XML data from a file input stream.

Example

DEFINE f om.SaxDocumentHandler
LET f = om.SaxDocumentHandler.createForName("mysaxmod")
CALL f.readXmlFile("cars.xml")