Constructor XMLWriter
XMLWriter()
Create a new XML writer.
Write to standard output.
Declaration
public XMLWriter()
XMLWriter(TextWriter)
Create a new XML writer.
Write to the writer provided.
Declaration
public XMLWriter(TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
TextWriter | writer | The output destination, or null to use standard output. |
XMLWriter(IXMLReader)
Create a new XML writer.
Use the specified XML reader as the parent.
Declaration
public XMLWriter(IXMLReader xmlreader)
Parameters
Type | Name | Description |
---|---|---|
IXMLReader | xmlreader | The parent in the filter chain, or null for no parent. |
XMLWriter(IXMLReader, TextWriter)
Create a new XML writer.
Use the specified XML reader as the parent, and write to the specified writer.
Declaration
public XMLWriter(IXMLReader xmlreader, TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXMLReader | xmlreader | The parent in the filter chain, or null for no parent. |
TextWriter | writer | The output destination, or null to use standard output. |