|
|
HANDLE GetXmlDoc ()
|
/* Returns the current X-DOCUMENT handle, or creates one if it does not yet exist/is invalid
@return handle A valid X-DOCUMENT handle */
|
|
|
INT64 Write (character)
|
/** Write data to/from the message
@param character Data to write */
|
|
|
INT64 Write (handle)
|
/** Write data to/from the message.
If the handle is a X-DOCUMENT, overwrite any existing data.
If the handle is an X-NODEREF, add it to the existing X-DOC. If the document has no root node, then add the noderef as
the root node. If a root node exists, then append the node to the root node.
If the handle is a DATASET or TEMP-TABLE, call WRITE-XML and replace any existing data
If the handle is a BUFFER and it's on a TEMP-TABLE, call WRITE-XML on the table and replace any existing data
Otherwise throw an error.
@param handle Data to write
@return int64 The number of bytes written. Always returns 0 */
|