XMLDeclaration Type

The XML declaration present at the beginning of a document.

Remarks

This type contains details about the XML declaration which may be set before writing a document. This is only applicable when writing documents.

Fields

Encoding
String

This property specifies the XML encoding to use.

This may be set before writing a document. The default value is "utf-8".

This is only applicable when writing XML.

Standalone
Boolean

This property indicates whether the standalone attribute is present in the declaration with a value of true.

This may be set before writing a document. The default value is "true".

This is only applicable when writing XML.

Version
String

This property specifies the XML version.

This may be set before writing a document. The default value is "1.0".

This is only applicable when writing XML.

Constructors

constructor Create();
constructor Create(valVersion: String; valEncoding: String; valStandalone: Boolean);

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Delphi Edition - Version 20.0 [Build 8307]