Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDeclarationOptions

The options associated with the XML declaration. This object is used to create a new XmlDecl object.

Hierarchy

  • IDeclarationOptions

Implemented by

Index

Properties

Optional encoding

encoding: string

The XML encoding to be included in the declaration. This value must be a valid encoding. If left undefined, no encoding is included.

Optional standalone

standalone: string

The XML standalone attribute to be included. This value must be "yes" or "no". If left undefined, no standalone attribute is included.

Optional version

version: string

The XML version to be included in the declaration. This value must be a valid XML version number. If left undefined, the default version is "1.0".

Generated using TypeDoc