Overview of the XML Extractor Application

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Developer's Guide

Overview of the XML Extractor Application

The XML Extractor application uses the following SAX interfaces/CoClasses:

The application consists of the following three main parts.

Main form
A Microsoft® Visual Basic® 6.0 form that provides the initial startup form for running the application.

The form has a text box to specify the file used as input and two command buttons: Start and Exit. Pressing Start starts application processing. Pressing Exit unloads the application form, effectively exiting the application.

Secondary form
This Microsoft® Visual Basic® 6.0 form displays the invoices as they are generated. It only appears when the application starts. It permits you to display and walk through the invoices while generating them.
MyExtractor class
A Microsoft® Visual Basic® 6.0 class module that implements the interfaces listed above. When SAX parsing begins, the SAX reader throws a series of events that are received by an instance of this class.
Sample Files
The XML Extractor application requires several files. These include a single XML file (invoices.xml) to be used as the input for making DOM document trees. There is also a single XSLT style sheet file (invoice.xsl) used to transform each of these trees as a separate invoice, and to generate application output in HTML format.

See Also

Extract Data From a Large Document | Application Forms (XML Extractor) | Sample Files (XML Extractor) | MyExtractor Class (XML Extractor) | Run the Application (XML Extractor) | How the XML Extractor Application Works