The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

AsXmlText Method

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

XmlText := XmlNode.AsXmlText()  

Return Value

 Type: XmlText

See Also

HTTP, JSON, TextBuilder, and XML API
Getting Started with AL
Developing Extensions