parseFile

parseFile(fileName: String);

The parseFile method of the JadeXMLParser class parses the XML document file specified by the fileName parameter. This method is synchronous, and it will not return until parsing has ended. An application in which you may require early termination of parsing should raise an exception.

As applications cannot invoke this method while a parse operation is in progress, create a new JadeXMLParser object instead for each nested XML document. When a parse is complete, the application can reuse the same JadeXMLParser object.

During the parse operation, the JADE Parser provides information about the XML document through the implemented callback methods.