Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFormatOptions

The options associated with the formatting of the XML document.

Hierarchy

  • IFormatOptions

Implemented by

Index

Properties

Optional doubleQuotes

doubleQuotes: boolean

If doubleQuotes is true, double quotes are used in XML attributes. Otherwise, single quotes are used in XML attributes. If left undefined, the default value is false.

Optional indent

indent: string

The indent string used for pretty-printing. If left undefined, the default value is four spaces.

Optional newline

newline: string

The newline string used for pretty-printing. If left undefined, the default value is "\n".

Optional pretty

pretty: boolean

If pretty is true, pretty-printing is enabled. If left undefined, the default value is true.

Generated using TypeDoc