Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IXmlDeclOptions

The options used to create a new declaration.

Hierarchy

  • IXmlDeclOptions

Index

Properties

Optional encoding

encoding: undefined | string

The encoding attribute to be included in the declaration. If defined, this value must be a valid encoding. By default, no encoding attribute is included.

Optional standalone

standalone: undefined | string

The value of the standalone attribute to be included in the declaration. If defined, this value must be "yes" or "no". By default, no standalone attribute is included.

Optional version

version: undefined | string

The XML version to be included in the declaration. If defined, this value must be a valid XML version number. Defaults to "1.0".

Generated using TypeDoc