IXmlWriter Methods

 

The following are the IXmlWriter methods.

MethodDescription
CreateXmlWriterCreates a new IXmlWriter. (This "constructor" is actually a global function.)
FlushFlushes whatever is in the buffer to the underlying stream, then flushes the underlying stream.
GetProperty (IXmlWriter)Returns the specified property.
SetOutputSets the output stream for the writer.
SetProperty (IXmlWriter)Sets the specified property.
WriteAttributesCopies attributes from the specified source IXmlReader to the IXmlWriter.
WriteAttributeStringWrites an attribute.
WriteCDataWrites out a CDATA section containing the specified text.
WriteCharEntityWrites a character entity for the provided Unicode character value.
WriteCharsWrites out the specified text content, escaping markup.
WriteCommentWrites out a comment containing the specified text.
WriteDocTypeWrites out the <!DOCTYPE ...> declaration with the specified name and optional attributes.
WriteElementStringWrites out the element with specified prefix, name, namespace and value.
WriteEndDocumentCloses any open elements or attributes and puts the writer back in the Start state.
WriteEndElementCloses one element and pops the corresponding namespace scope. If the element contains no content, this method writes a short end tag (/>).
WriteEntityRefWrites out an entity reference with the specified name.
WriteFullEndElementCloses one element and pops the corresponding namespace scope. Always writes the full end tag.
WriteNameWrites out the specified name, ensuring that the name is valid according to the XML specification.
WriteNmTokenWrites out the specified name, ensuring that the name is a valid NmToken according to the XML specification.
WriteNodeCopies the current node from the specified source IXmlReader to the IXmlWriter. Also writes children nodes.
WriteNodeShallowCopies the current node from the specified source IXmlReader to the IXmlWriter, without writing the children of the current node.
WriteProcessingInstructionWrites a processing instruction.
WriteQualifiedNameWrites out the specified namespace-qualified name by looking up the prefix that is in scope for the specified namespace.
WriteRawAllows the caller to write out raw markup manually.
WriteRawCharsWrites out raw markup manually.
WriteStartDocumentWrites out the XML declaration with the version "1.0".
WriteStartElementWrites out the specified start tag and associates it with the specified namespace.
WriteStringWrites out the specified text content, escaping any markup in the content.
WriteSurrogateCharEntityForces the generation of a surrogate character entity for the given string value.
WriteWhitespaceWrites out the specified white space.

Header: XmlLite.h

Library: XmlLite.lib

IXmlWriter

Show: