XML document HTTP handler

This handler returns the text from an indexed document in an XML format compliant with its DTD, which can be found at <installLocation>/OmniQ/config/dtd/Document.dtd.

In a default installation of Sybase Search, you can find this XML handler and its DTD handler respectively, at:

The handler accepts the following parameters shown in Table 6-2.

Table 6-2: XML document HTTP handler parameters

Parameter

Description

address

The document address of the document to fetch as XML. The document address format is <DSM-ID>-<DS-ID>-<DOC-ID> (Document Store Manager ID, document store ID, and Document ID).

useParagraphs

When this parameter is true, the body text of the document is broken into paragraphs and formatted between extra paragraph XML tags.

If set to false, the entire body text is returned in a large, unbroken block.