XMLWriterSettings.Based on record parameters

Syntax:

New XMLWriterSettings(<Encoding>, <Version>, <Indent>, <IndentAttributes>, <IndentChars>)

Parameters:

<Encoding> (optional)

Type: String.
Encoding that is used for writing XML document (relevant for writing to a file). By default, UTF-8 encoding will be used.

<Version> (optional)

Type: String.
XML standard version, correspondence to which is verified during XML data writing. Possible values: 1.0 or 1.1.
Default value: 1.0.

<Indent> (optional)

Type: Boolean.
A flag indicating indents for writing XML document elements structure.
Default value: True.

<IndentAttributes> (optional)

Type: Boolean.
A flag indicating indents for writing XML document elements structure.
Default value: False.

<IndentChars> (optional)

Type: String.
Sequence of characters that will be used for writing indents for XML data writing. Only space characters (Space, CR, LF, Tab) can be included in the sequence.
Default value: Tab.

Description:

Creates an object of XML record parameters.

    

1C:Enterprise Developer's Community