%XML_DOC_CREATE

Create an XML document instance

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
document = %XML_DOC_CREATE

Return value

document

The XML document instance created, or 0 if not successful. (XML_DOC_TYPE)

Discussion

Calling %XML_DOC_CREATE is the first step in creating a well-formed XML document using Synergy data. %XML_DOC_CREATE not only creates a new XML document, but it also creates a root element in that document.

Documents explicitly created with this routine will need to be deleted using %XML_DOC_DELETE.

This function is defined as ^VAL.

Examples

See Example of assembling XML.