XmlNode.AsXmlProcessingInstruction() Method

Version: Available or changed with runtime version 1.0.

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

Syntax

XmlProcessingInstruction :=   XmlNode.AsXmlProcessingInstruction()

Parameters

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

Return Value

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

XmlNode Data Type
Get Started with AL
Developing Extensions