Partager via


Overview of the Sample MXXMLWriter Application

 

The sample MXXMLWriter application, shown in the following illustration, consists of a single form with two buttons that enable you to perform two basic tasks:

  • The Try File button results in SAXXMLReader parsing the file given in the File name box, and passing the events of that file to MXXMLWriter. The application then directs the output from MXXMLWriter to the large text box on the right. (The File name box defaults to the test.xml file provided with the sample application.)

  • The Try Demo button results in the application calling the required methods to manually build an XML file. The text box on the right shows the completed XML file. The text box on the left lists the events fired when each method is called.

    SAX Writer Usage Example form

Other Resources

Connecting an MXXMLWriter to a SAXXMLReader