<xml></xml>

Saxon API for .NET |

# Serializer Members

Serializer overview

#### Public Static Fields

BYTE_ORDER_MARK | QName identifying the serialization parameter "byte-order-mark"
CDATA_SECTION_ELEMENTS | QName identifying the serialization parameter "cdata-section-elements". The value of this parameter is given as a space-separated list of expanded QNames in Clark notation, that is "{uri}local".
DOCTYPE_PUBLIC | QName identifying the serialization parameter "doctype-public"
DOCTYPE_SYSTEM | QName identifying the serialization parameter "doctype-system"
ENCODING | QName identifying the serialization parameter "encoding"
ESCAPE_URI_ATTRIBUTES | QName identifying the serialization parameter "escape-uri-attributes". The value is the string "yes" or "no".
INCLUDE_CONTENT_TYPE | QName identifying the serialization parameter "include-content-type". The value is the string "yes" or "no".
INDENT | QName identifying the serialization parameter "indent". The value is the string "yes" or "no".
MEDIA_TYPE | QName identifying the serialization parameter "media-type".
METHOD | QName identifying the serialization parameter "method". If the method is a user-defined method, then it is given as a QName in Clark notation, that is "{uri}local".
NEXT_IN_CHAIN | QName identifying the serialization parameter "saxon:next-in-chain". This is available only with XSLT, and identifies the URI of a stylesheet that is to be used to process the results before passing them to their final destination.
NORMALIZATION_FORM | QName identifying the serialization parameter "normalization-form"
OMIT_XML_DECLARATION | QName identifying the serialization parameter "omit-xml-declaration". The value is the string "yes" or "no".
SAXON_CHARACTER_REPRESENTATION | QName identifying the serialization parameter "saxon:character-representation"
SAXON_INDENT_SPACES | QName identifying the serialization parameter "saxon:indent-spaces". The value is an integer (represented as a string) indicating the amount of indentation required. If specified, this parameter overrides indent="no".
SAXON_REQUIRE_WELL_FORMED | QName identifying the serialization parameter "require-well-formed". The value is the string "yes" or "no". If set to "yes", the output must be a well-formed document, or an error will be reported.
STANDALONE | QName identifying the serialization parameter "standalone". The value is the string "yes" or "no" or "omit".
UNDECLARE_PREFIXES | QName identifying the serialization parameter "undeclare-prefixes". The value is the string "yes" or "no".
USE_CHARACTER_MAPS | QName identifying the serialization parameter "use-character-maps". This is available only with XSLT. The value of the parameter is a list of expanded QNames in Clark notation giving the names of character maps defined in the XSLT stylesheet.
VERSION | QName identifying the serialization parameter "version"

#### Public Instance Constructors

Serializer Constructor | Create a Serializer

#### Public Instance Methods

Close |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetOutputProperties |
GetResult |
GetType (inherited from Object) | Gets the Type of the current instance.
SetOutputFile | Specify the destination of the serialized output, in the form of a file name
SetOutputProperty | Set a serialization property
SetOutputStream | Specify the destination of the serialized output, in the form of a `Stream`
SetOutputWriter | Specify the destination of the serialized output, in the form of a `TextWriter`
ToString (inherited from Object) | Returns a String that represents the current Object.

#### Protected Instance Methods

Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object.

#### See Also

Serializer Class | Saxon.Api Namespace