XmlDeclaration.Create(Text, Text, Text) Method

Version: Available or changed with runtime version 1.0.

Creates an XmlDeclaration node.

Syntax

XmlDeclaration :=   XmlDeclaration.Create(Version: Text, Encoding: Text, Standalone: Text)

Parameters

Version
 Type: Text
The version of the XML, usually "1.0".

Encoding
 Type: Text
The encoding for the XML document.

Standalone
 Type: Text
A string containing "yes" or "no" that specifies whether the XML is standalone or requires external entities to be resolved.

Return Value

XmlDeclaration
 Type: XmlDeclaration
The created XmlDeclaration node.

XmlDeclaration Data Type
Get Started with AL
Developing Extensions