%XML_ELEM_SETTEXT
Set the text value of an XML element
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
status = %XML_ELEM_SETTEXT(element, text)
Return value
status
XML_SUCCESS if the text was set successfully.
Arguments
element
The XML element instance to set text for. (XML_ELEM_TYPE)
text
The text that will appear between the element’s opening tag and closing tag. The maximum length is 65,534 characters. (a)
Discussion
%XML_ELEM_SETTEXT sets the text that appears between the XML element’s opening and closing tags.
This function is defined as ^VAL.
See also
%XML_OPTION routine for information about escaping text when calling %XML_ELEM_SETTEXT
Examples
See XML_to_Synergy_DBMS, available from Synergy CodeExchange in the Synergex Resource Center.