XMLWriterClass

An XML sequential document writer.

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
ISupportErrorInfo
IXMLWriter Provides access to members that control the sequential writing of XML.
IXMLWriter2 Provides access to members that control the sequential writing of XML.

Remarks

Use the XMLWriter coclass when you wish to provide access to members that control the sequential writing of XML. XMLStream needs to be hooked-up in order to write to the stream.

'*** Create XmlStream and XmlWriter ***Dim pStream As IXMLStreamSet pStream = New XMLStream

Dim pWriter As IXMLWriterSet pWriter = New XMLWriter

pWriter.WriteTo pStream'*** Create XmlSerializer ***Dim pSerializer As IXMLSerializerSet pSerializer = New XMLSerializerpSerializer.WriteObject pWriter, Nothing, Nothing, "", "", pPoint

See the IXMLReader interface for more on getting information about writing of objects.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close