Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDeclarationOptions

The options associated with the XML declaration. An example of an XML declaration is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

Hierarchy

  • IDeclarationOptions

Implemented by

Index

Properties

Optional encoding

encoding: string

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

Optional include

include: boolean

If include is true, an XML declaration is included in the generated XML. If left undefined, the default value is true.

Optional standalone

standalone: string

The XML standalone attribute to be included. If defined, 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. If defined, this value must be a valid XML version number. If left undefined, the default version is "1.0".

Generated using TypeDoc