tocolvalue

Purpose

Returns value of a dataset column specified as the first argument.

Syntax

tocolvalue(column_name)

Arguments

Accepts one argument which specifies column name.

Returned Value

Value of a specified column.

Examples

Dataset

Text

Country

Cho Oyu mountain is the sixth highest peak in the world.

Nepal

XPDL-rule

XPDL-rule

Result

rule: r
{
query: {repeat(case(title))}:m
result: Result = $m
attribute: Country = tocolvalue(Country)
}

Result: Cho Oyu
Country: Nepal