If query is of the form name='Y' then you can use the same X.Y syntax as is used for accessing structures. attachments[size>1024], DocumentForm[name!='Summary' AND value~'top secret'].value, DocumentForm.Summary X[N] where X is an array and N is an integer number >= 0, gets the Nth element of the array X attachments[3] Note: at some point Foswiki may support multiple forms in the same topic.