Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IStringOptions

Formatting options for the string representation of an XmlNode and its children. This object is used by the toString method of XmlNode.

Hierarchy

  • IStringOptions

Implemented by

Index

Properties

Optional doubleQuotes

doubleQuotes: boolean

Whether double quotes or single quotes should be used in XML attributes. If left undefined, single quotes are used.

Optional indent

indent: string

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

Optional newline

newline: string

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

Optional pretty

pretty: boolean

Whether pretty-printing is enabled. If left undefined, pretty-printing is enabled.

Generated using TypeDoc