[ You are here:
XTF ->
Tag Reference ->
dynaXML ->
Document Request Parser Output Tags -> Query Tag ]
Query Tag
This tag is a container tag for a crossQuery style query. It has the form:
<query>
crossQuery-Style Query Tags
</query>
where crossQuery-Style Query Tags are any of the query tags outlined in the
Query Parser Output Tags section. Note however that the dynaXML query tag doesn't use the attributes available for the crossQuery
query tag.
Including a query in the document request allows the dynaXML servlet to mark query hits in context in the original document. Then, the
Document Formatter stylesheet can opt to provide quick links to the hits or to simply highlight them in context.
Note: If a query tag is used in a document request, the
index tag
must also be present in the document request. If the
index tag is not present in the document request, an
Unsupported Query error will be sent to the
Error Generator stylesheet.