Set the value of an XML attribute

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
status = %XML_ATTR_SETVALUE(attr, value)

Return value


XML_SUCCESS if the value is set successfully.



The XML attribute instance to set a value for. (XML_ATTR_TYPE)


The value of the attribute. The maximum length is 65,022 characters. (a)


If you defined the attribute using %XML_ELEM_SETATTRIBUTE, you do not need to call %XML_ATTR_SETVALUE to specify the attribute’s value. However, you can use %XML_ATTR_SETVALUE to change the value of an existing XML attribute

This function is defined as ^VAL.

See also

%XML_OPTION routine for information about escaping text when calling %XML_ATTR_SETVALUE