XmlNode.AsXmlDocument() Method

Version: Available or changed with runtime version 1.0.

Converts the node to an XmlDocument node. The operation will fail if the node is not an XmlDocument.

Syntax

XmlDocument :=   XmlNode.AsXmlDocument()

Parameters

XmlNode
 Type: XmlNode
An instance of the XmlNode data type.

Return Value

XmlDocument
 Type: XmlDocument
An XmlDocument value that references the current XmlNode.

See Also

XmlNode Data Type
Get Started with AL
Developing Extensions