AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IXMLPayload.GetDocument Method

Gets the payload text as an XML document.

XmlNode GetDocument();

#### Return Value

The XML document node.

#### Remarks

This can be used for manipulating the XML from a payload directly. Note: This document should not be edited.

#### Exceptions

Exception Type | Condition
--- | ---
PayloadProcessingException | An exception occurred processing the payload.

#### See Also

IXMLPayload Interface | Bea.Alui.Proxy Namespace