Saxon API for .NET |

# TextWriterDestination Class

A `TextWriterDestination` is an implementation of `XmlDestination` that wraps an instance of `XmlTextWriter`.

For a list of all members of this type, see TextWriterDestination Members.

System.Object
XmlDestination
TextWriterDestination

public class TextWriterDestination : XmlDestination

#### Remarks

Note that when a `TextWriterDestination` is used to process the output of a stylesheet or query, the output format depends only on the way the underlying `TextWriter` is configured; serialization parameters present in the stylesheet or query are ignored.

#### Requirements

Namespace: Saxon.Api

Assembly: saxon8api (in saxon8api.netmodule)

#### See Also

TextWriterDestination Members | Saxon.Api Namespace