Compartir a través de


IXmlWriterOutput

 

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.

Remarks

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.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

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