%XML_STRING_GETSIZE

Get the size of an XML string

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
size = %XML_STRING_GETSIZE(xml_string)

Return value

size

The size of the specified string. (i4)

Arguments

xml_string

The XML string instance whose size will be returned. (XML_STRING_TYPE)

Discussion

When processing XML data in a Synergy program, you will probably want to change the XML string into a Synergy memory handle using %XML_STRING_GETHANDLE to get the handle and %XML_STRING_GETSIZE to get its size. You can then use the handle and size in your Synergy program as needed. (For example, you might pass them into the HTTP document transport API.)

This function is defined as ^VAL.

Examples

See XML_to_Synergy_DBMS, available from Synergy CodeExchange in the Synergex Resource Center.