%XML_ELEM_CREATE

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

element

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

Discussion

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.

Examples

The following example creates a root element.

root = %xml_elem_create

Also see Example of assembling XML.