MXXMLWriter object provides an efficient and flexible way to handle the output produced by the latest version of the Simple API for XML (SAX2) events. For example, an
Automatically handles the details of building an XML document or document fragment. When connected to
MXXMLWriteraccumulates data passed by events thrown by the reader and stores the data in an output string. Also,
MXXMLWritercan automatically handle the details of inserting special characters, such as the "<" character at the beginning of an element.
Enables you to format output by providing properties, such as
encodingthat apply to the document output.
Enables you to manually build an XML document by invoking the methods of the
IMXWriterinterface, which is a complementary application programming interface (API) to the latest version of the Simple API for XML (SAX2) implementation of Microsoft® XML Core Services (MSXML).
MSXML provides two CoClasses that implement
MXXMLWriter, which generates XML or DOM output and
MXHTMLWriter, which generates HTML output.
To help you understand how you can incorporate
MXXMLWriter into your applications, this section provides the following topics: