resultList

The result list settings enable you to select the attributes included in the search results and customize the look-and-feel of the Oracle SES Search Application.

Object Type

Universal

State Properties

Property Value
status
ACTIVE
INACTIVE

Supported Operations

activate
deactivate
export
getState
update

Administration GUI Page

Global Settings - Configure Search Result List

XML Description

The <search:resultList> element describes the search results lists:

<search:resultList>
  <search:renderingAttrs>
    <search:renderingAttr>
      <search:name>
  <search:xsltContent>
  <search:cssContent>

Element Descriptions 

<search:resultList>

Contains these elements:

<search:renderingAttrs>
<search:xsltContent>
<search:cssContent>
<search:renderingAttrs>

Identifies attributes that appear in the search results, including local search attributes, federated search attributes, and Oracle SES internal attributes. It contains one or more <search:renderingAttr> elements.

<search:renderingAttr>

Identifies an attribute. It contains a <search:name> element.

<search:name>

Contains the name of an attribute. Required.

<search:xsltContent>

Contains the content of an XSLT style sheet in XML-escaped format or wrapped in a CDATA element. The XSLT operates on the attributes by transforming the XML content into an HTML fragment for display in the result list. To return HTML, include this in the XSLT:

<xsl:output method="html" />

If the XSLT is blank, then the search results are displayed as untransformed XML.

<search:cssContent>

Content of a cascading style sheet (CSS) wrapped in a CDATA element. These styles format the HTML returned by the XSLT style sheet.

This CSS is used with other style sheets installed with the Oracle SES and has the highest priority.

Example

This XML document contains the result list properties and style sheets:

<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion=".*" xmlns:search="http://xmlns.oracle.com/search">
  <search:resultList>
    <search:renderingAttrs>
      <search:renderingAttr>
        <search:name>Subject</search:name>
      </search:renderingAttr>
      <search:renderingAttr>
            <search:name>eqdatasourcename</search:name>
      </search:renderingAttr>
      <search:renderingAttr>
            <search:name>eqdatasourcetype</search:name>
      </search:renderingAttr>
    </search:renderingAttrs>
    <search:xsltContent>
      <![CDATA[<?xml version="1.0" encoding="UTF-8" ?>
      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
      <!-- XSLT content appears here-->
 
      </xsl:stylesheet>]]>
    </search:xsltContent>
    <search:cssContent>
      <![CDATA[.title
        {
        font-size: 12pt;
        }]]>
    </search:cssContent>
  </search:resultList>
</search:config>