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, #rfi1387308663027, setSaxReader procedure, getSaxWriter function, deleteSaxWriter procedure

For more information, see the XMLMessage.