ArcObjects Library Reference (System)  

IXMLWriter Interface

Provides access to members that control the sequential writing of XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method LookupNamespace Obtains the declared namespace prefix for a namespace.
Method WriteBinary Writes an element value as a binary array.
Method WriteBoolean Writes an element value as a boolean.
Method WriteByte Writes an element value as a byte.
Method WriteCData Writes a CDATA section.
Method WriteDate Writes an element value as a date.
Method WriteDouble Writes an element value as a double.
Method WriteEndTag Writes the ending tag of an element.
Method WriteFloat Writes an element value as a float.
Method WriteInteger Writes an element value as a long.
Method WriteNewLine Writes a newline.
Method WriteShort Writes an element value as a short.
Method WriteStartTag Writes the starting tag of an element.
Method WriteTab Writes a tab.
Method WriteText Writes the text value of an element.
Method WriteTo Specifies output XML stream.
Method WriteVariant Writes an element value as a variant.
Method WriteXML Writes raw XML.
Method WriteXMLDeclaration Writes the XML document declaration.

CoClasses that implement IXMLWriter

CoClasses and Classes Description
XMLWriter An XML sequential document writer.

Remarks

The IXMLWriter interface provides nineteen methods to use for writing out specific data elements.

.NET Snippets

Serialize an XML File