IXmlWriter
Description
- Derived from
- Extended by
Base interface for classes that allow sequential writing of XML data.
To write to a stream of XML data, use the following call sequence:
-
Write zero or more preamble nodes:
WriteComment, WriteInstruction, WriteSpace -
(A) Write zero or more content nodes:
-
WriteChar, WriteComment, WriteData, WriteEntity, WriteInstruction, WriteSpace, WriteText
-
Write an element node with this sequence:
-
Write zero or more attribute nodes:
-
Write zero or more value nodes:
WriteChar, WriteEntity, WriteText
-
Go to (A) recursively.
-
Public / Methods
WriteAttributeBegin
Writes the start of an XmlAttribute node.
- IOException
-
If an I/O error has occurred.
WriteAttributeEnd
Writes the end of an XmlAttribute node.
- IOException
-
If an I/O error has occurred.
WriteComment
Writes an XmlComment node.
If text in is null, no write access is performed.
- IOException
-
If an I/O error has occurred.
WriteData
Writes an XmlData node.
If text in is null, no write access is performed.
- IOException
-
If an I/O error has occurred.
WriteElementBegin
Writes the start of an XmlElement node.
- IOException
-
If an I/O error has occurred.
WriteHeaderBegin
Writes the header of an XmlDocument node.
- IOException
-
If an I/O error has occurred.
WriteSpace
Writes an XmlSpace node.
If value in is null, no write access is performed.
- IOException
-
If an I/O error has occurred.
WriteText
Writes an XmlText node.
If value in is null, no write access is performed.
- IOException
-
If an I/O error has occurred.