Freigeben über


IXmlReaderInput

 

When you read XML documents that use an encoding other than UTF-8, you use an instance of IXmlReaderInput. With this class, you can set the characteristics of the input separately from the parser.

Remarks

An instance of IXmlReaderInput is created by using the CreateXmlReaderInputWithEncodingCodePage or CreateXmlReaderInputWithEncodingName functions.

After the IXmlReaderInput object is created, the user sets the input for the reader by calling the IXmlReader::SetInput method.

The IXmlReaderInput 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