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 field 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 field 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 field 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

public constructor()



public constructor(version: String?, encoding: String?, standalone: Boolean)



Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]