XmlReadSettings Class

Xml read settings.

Constructor

XmlReadSettings(*args: Any, **kwargs: Any)

Variables

Name Description
compression_properties

Compression settings.

validation_mode
any

Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string).

detect_data_type
any

Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).

namespaces
any

Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).

namespace_prefixes
any

Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml”:”prefix”}" Type: object (or Expression with resultType object).

type
str

The read setting type. Required. Default value is "XmlReadSettings".

Attributes

compression_properties

Compression settings.

compression_properties: _models.CompressionReadSettings | None

detect_data_type

boolean (or Expression with resultType boolean).

detect_data_type: Any | None

namespace_prefixes

Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml”:”prefix”}" Type: object (or Expression with resultType object).

namespace_prefixes: Any | None

namespaces

boolean (or Expression with resultType boolean).

namespaces: Any | None

type

The read setting type. Required. Default value is "XmlReadSettings".

type: Literal['XmlReadSettings']

validation_mode

'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string).

validation_mode: Any | None