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

AsXmlDocument Method

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

XmlDocument := XmlNode.AsXmlDocument()  

Return Value

 Type: XmlDocument

See Also

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