Using the GetXMLDoc Method

The following code example shows how to use GetXMLDoc to get nonrowset-based XML out of the Message object.

Local XMLDOC &XmlDoc;

// get an xmldoc object loaded with the content data. 
&XmlDoc = &MSG.GetXmlDoc();