Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



When you write XML documents that use an encoding other than UTF-8, you use an instance of IXmlWriterOutput. With this class, you can set the characteristics of the output separately from the XML writer.

An instance of IXmlWriterOutput is created by using the CreateXmlWriterOutputWithEncodingCodePage or CreateXmlWriterOutputWithEncodingName functions.

After the IXmlWriterOutput object is created, the user sets the output for the writer by calling the IXmlWriter::SetOutput method.

The IXmlWriterOutput interface contains no methods; in fact, it is implemented as an alias for the standard COM IUnknown interface.

Header: XmlLite.h

Library: XmlLite.lib

XmlLite Interfaces
Write an Encoded XML Document Using XmlLite
Read an Encoded XML Document using XmlLite

© 2018 Microsoft