XMLReaderSettings.Based on parameters set

Syntax:

New XMLReaderSettings(<Version>, <Language>, <SpaceCharacters>, <ValidityCheckType>, <IgnoreXMLDeclaration>, <IgnoreDocumentType>, <IgnoreDataProcessorInstructions>, <IgnoreComments>, <IgnoreSpaceCharacters>, <CDATASectionAsText>, <UseIgnorableWhitespace>)

Parameters:

<Version> (optional)

Type: String.
Version of XML specification used for reading. Possible values: 1.0 or 1.1.
Default value: 1.0.

<Language> (optional)

Type: String.
XML document language - start value of xml:lang attribute for XML document. Value of this parameter is a start value of property Lang of XMLReaderSettings object.

<SpaceCharacters> (optional)

Type: XMLSpace.
Default value of xml:space attribute used during XMLreading. Affects property Space of XMLReaderSettings object.
Default value: Default.

<ValidityCheckType> (optional)

Type: XMLValidationType.
XML data validity check during reading.
Default value: NoValidate.

<IgnoreXMLDeclaration> (optional)

Type: Boolean.
Ignore XML declaration during reading flag.
Default value: True.

<IgnoreDocumentType> (optional)

Type: Boolean.
Ignore document type definition (DTD) flag.
Default value: True.

<IgnoreDataProcessorInstructions> (optional)

Type: Boolean.
Ignore data processor instructions flag.
Default value: False.

<IgnoreComments> (optional)

Type: Boolean.
Ignore comments flag.
Default value: False.

<IgnoreSpaceCharacters> (optional)

Type: Boolean.
Ignore space characters during reading flag.
Default value: True.

<CDATASectionAsText> (optional)

Type: Boolean.
CDATA sections interpretation as a text during XML reading flag.
Default value: False.

<UseIgnorableWhitespace> (optional)

Type: Boolean.
Defines using Whitespace nodes for XML reading.
Default value: False.

Description:

Creates an object instance XMLReaderSettings.

    

1C:Enterprise Developer's Community