Create an XML element instance

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
element = %XML_ELEM_CREATE

Return value


The XML element instance created, or 0 if not successful. (XML_ELEM_TYPE)


Use %XML_ELEM_CREATE to create both root elements and subelements. XML elements explicitly created with this routine and not added as data to a parent element will need to be deleted using %XML_ELEM_DELETE.

This function is defined as ^VAL.


The following example creates a root element.

root = %xml_elem_create

Also see Example of assembling XML.