Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IStringOptions

Formatting options for the string representation of an XML node.

Hierarchy

  • IStringOptions

Implemented by

Index

Properties

Optional doubleQuotes

doubleQuotes: undefined | false | true

Whether double quotes or single quotes should be used in XML attributes. By default, single quotes are used.

Optional indent

indent: undefined | string

The indent string used for pretty-printing. The default indent string is four spaces.

Optional newline

newline: undefined | string

The newline string used for pretty-printing. The default newline string is "\n".

Optional pretty

pretty: undefined | false | true

Whether pretty-printing is enabled. By default, pretty-printing is enabled.

Generated using TypeDoc