[ You are here:
XTF ->
Tag Reference ->
crossQuery -> Query Router Output Tags]
Query Router Output Tags
These tags are used by the
Query Router stylesheet to form the XML response telling the crossQuery servlet the particular query parser stylesheet to use. The top-level tag is the Route Tag below.
Route Tag
This tag is outermost tag in the query route sent to the crossQuery servlet's query routing logic. It has the form:
<route>
QueryParserTag
{ErrorGenTag}
</route>
The
QueryParserTag (see below) specified within this tag identifies the Query Parser stylesheet to use. If specified, the
ErrorGenTag (see below) identifies an Error Generator stylesheet to use instead of the default specified in the crossQuery.conf file.
QueryParser Tag
This tag appears directly within a
Route Tag (see above). It has the form:
<queryParser path="QueryParserLocation"/>
This tag identifies which Query Parser stylesheet should be utilized by crossQuery to parse the URL parameters and produce an XTF query. If this path is not specified as an absolute path, it is assumed to be relative to the XTF base installation directory (i.e., XTF_HOME.)
ErrorGen Tag
This tag appears directly within a
Route Tag (see above). It has the form:
<errorGen path="ErrorGeneratorLocation"/>
This tag identifies which stylesheet should be used in case unexpected errors occur during query parsing or processing. This overrides the default error generator specified in the crossQuery.conf configuration file. If this path is not specified as an absolute path, it is assumed to be relative to the XTF base installation directory (i.e., XTF_HOME.)