GetLookupListsContentAsXML function
Prototype: |
function GetLookupListContentAsXML(const OnlyActiveItems, IncludingConditionalLookupLists: boolean): string; |
|
Description: |
The GetLookupListsContentAsXML function makes content of all lookup lists in your Field-Map project easily available for further manipulation. |
|
Syntax: |
variable := Layer.GetLookupListContentAsXML(OnlyActiveItems, IncludingConditionalLookupLists); |
|
Part |
Description |
|
variable |
A variable declared as a string |
|
Layer |
A reference to a Field-Map layer as defined in Field-Map Project Manager |
|
OnlyActiveItems |
A parameter specifying whether or not only active items will be included |
|
IncludingConditionalLookupLists |
A parameter specifying whether or not to include conditional lookup lists |
|
Return value: |
content of all lookup lists of the given layer as an XML formatted string |
|
Return value example: |
<?xml version="1.0" encoding="UTF-8"?> <LOOKUPLISTS LAYER="Trees"> <LOOKUPLIST ATTRIBUTE="Species" TYPE="10"> <ITEM ID="1" VALUE="Smrk ztepily"/> <ITEM ID="2" VALUE="Smrk pichlavy"/> <ITEM ID="3" VALUE="Smrk cerny"/> </LOOKUPLIST> </LOOKUPLISTS> |
|
See also:
AddDataToXML; GetRecordAsXML; GetRecordsAsXML; GetLookupListContentAsXML; GetLookupListsContentAsXML
© 2024 IFER-Monitoring and Mapping Solutions