SE_xmldoc_set_text

Sets an XML document object's text string.

Usage syntax

LONG SE_xmldoc_set_text
(SE_XMLDOC xmldoc,
LONG num_bytes,
const CHAR *text);

Parameters

xmldoc

The XML document object.

num_bytes

The length of the document in bytes.

text

The text string.

Description

This function sets the XML document's text string. To reset the XML document to be empty, set num_bytes to zero.

Returns

SE_SUCCESS
SE_OUT_OF_CLMEM

SE_INVALID_XMLDOC_OBJECT

SE_SDE_NOT_STARTED