{foreach:resultQueries[0],data}
{data[dscrpt]}
{foreach:resultQueries[1],atta} {if:eq(atta[doc_id],data[keyval])}
{atta[filenm]}
{end:} {end:}
{end:}