<mvt:assign name="l.settings:attributes[1]:template_code" value="'size'" />
<mvt:assign name="l.settings:attributes[1]:prompt" value="'Select a Size:'" />
<mvt:assign name="l.settings:attributes[2]:template_code" value="'color'" />
<mvt:assign name="l.settings:attributes[2]:prompt" value="'Select a Color:'" />
<mvt:assign name="l.settings:attributes[3]:template_code" value="'foo'" />
<mvt:assign name="l.settings:attributes[3]:prompt" value="'Foo Bar:'" />
<mvt:assign name="l.settings:attributes[4]:template_code" value="'baz'" />
<mvt:assign name="l.settings:attributes[4]:prompt" value="'Baz!:'" />
<mvt:assign name="g.var" value="'foo'" />
POS: <mvt:eval expr="miva_array_search( l.settings:attributes, 1, l.attribute, 'l.attribute:template_code EQ \'' $ g.var $ '\'' )" />
<mvt:eval expr="l.attribute"/>