Muokkaa

Jaa


XmlDocument.ReadFrom(Text, XmlReadOptions, var XmlDocument) Method

Version: Available or changed with runtime version 1.0.

Reads and parses the XML document from the given data source.

Syntax

[Ok := ]  XmlDocument.ReadFrom(Text: Text, ReadOptions: XmlReadOptions, var Result: XmlDocument)

Parameters

Text
 Type: Text
A string containing an XML document.

ReadOptions
 Type: XmlReadOptions
Specifies options for customizing how the document is parsed.

Result
 Type: XmlDocument
The XmlDocument parsed from the given data source.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

XmlDocument Data Type
Get Started with AL
Developing Extensions