The <hippo:query> executes a DASL query based on the location and stores the result in the var attribute.
| Attribute | Type | Required | Rtexprvalue | Description |
|---|---|---|---|---|
| location | String | true | true | The scope of the DASL query |
| var | String | true | false | The variable name in which the tag stores the result |
| query | String | false | true | Name of query class |
| content | Boolean | false | false | Get the content or only the properties of documents |
<hippo:query location="/" var="result" query="org.mycompany.query.QueryImpl">
<hippo:queryParameter name="name" var="${param.name}"/>
<hippo:queryParameter name="address" var="${param.address}"/>
</hippo:query>