Field-Map Scripting

4.2.4.1 AddDataToXML

AddDataToXML procedure


Prototype:

procedure AddDataToXML (xmlout Table :  TFieldMapTableScriptWrapper, Name : string);

procedure AddDataToXML (xmlout Table : TFieldMapTableScriptWrapper, IncludingChildLayers : boolean);

Description:

Adds all active records of table/layer table to XML output.

Syntax (1):

TFieldMapTableWrapper.AddDataToXML(Table, Name);

Syntax (2)

Layer.AddDataToXML(Table, IncludingChildLayers);


Part

Description


TFieldMapTableWrapper

Variable declared as instance of TFieldMapTableScriptWrapper class


Layer

A reference to the Field-Map layer as defined in Field-Map Project Manager


Table

Table to be included in XML Output.


Name

Title of the field


IncludingChildLayers

Boolean expression; whether to add also child layers or not







Return value:

none

Note:

This procedure is available from version XE5, when it replaced formerly used AddTableData and AddLayerData.



See also:

AddDataToXML; GetRecordAsXML; GetRecordsAsXML; GetLookupListContentAsXML; GetLookupListsContentAsXML