FINDKEYS

With FINDKEYS you specify filters to extract specific keys from XML variables. The keys are extracted as XML. You can, for example, extract keys from one XML variable and write them to a second XML variable.

Syntax

FINDKEYS("XML_properties","key","property","value" {,"key","property","value"},"separator")

Note: The function returns #VALUE! if you do not specify a separator, even if the function is used to return a single key.

Example

This example returns the [Product] key from gv_setproperty:

=FINDKEYS(GlobalVariables.gv_setproperty.Text,"[product]","unique", "[product].[all tires].[car tires all season]",":")

Example

This example returns [Product] and [Region] keys from gv_setproperty2, separated by a colon:
=FINDKEYS(GlobalVariables.gv_setproperty2.Text,"[product]","unique",
"[product].[all tires].[car tires all season]","[region]","unique",
"[region].[all regions].[europe]",":")