Saxon API for .NET

Serializer.SetOutputFile Method 

Specify the destination of the serialized output, in the form of a file name

public void SetOutputFile(
   string filename
);

Parameters

filename
The name of the file to receive the serialized output

See Also

Serializer Class | Saxon.Api Namespace