Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : getX-Document function
 

getX-Document function

Parses an XML document from a SonicMQ XMLMessage into an X-DOCUMENT.

Syntax

FUNCTION getX-Document RETURNS HANDLE.

Applies to

Message objects

Notes

*The handle to the created X-DOCUMENT is returned as the value of this function. CREATE X-DOCUMENT can return an error.
*The caller is responsible for deleting the handle when the application is done processing the X-DOCUMENT.
*Errors from getLongText function and xdoc:LOAD will be returned.

See also

createXMLMessage procedure, setX-Document procedure, getX-Document function, setSaxReader procedure, getSaxWriter function, deleteSaxWriter procedure
For more information, see the XMLMessage.