Previous Topic: External Agent Socket API Request Data ElementsNext Topic: Data and Stream Data Elements


XML Metadata Element

The XML metadata data element has a data item type WGN_IMPORTOBJ_TYPE_XML_METADATA. The XML metadata data must be a UTF-16 string in Network Byte Order (big endian order). The XML metadata must be NULL padded to a multiple of 4 bytes. The data element size includes the length of the data element size, the data element type and the data. It does not include the NULL padding.

If more than 1 XML Metadata element is contained in a message, the XML contained in all the XML Metadata elements is merged before the External Agent API is called.