Transforming xml to html – Google Search Appliance OneBox for Enterprise Developers Guide User Manual
Page 13

Google Search Appliance: Google OneBox for Enterprise Developer’s Guide
13
The following example shows the results from a directory smith query and the directory items for
William Smith and Bill Smith. The
provider for the search results:
http://directory.corp.acme.com/cqi-bin/lookup?empid=448473
photo=448473
http://directory.corp.acme.com/cqi-bin/lookup?empid=22638
photo=22638
Transforming XML to HTML
You can transform the XML results into HTML by means of an XSLT stylesheet template.
The
and internal OneBox provider.
The
to improve the display of the results data. In the directory example, the provider sends the search
appliance two results and title display information:
•
The title is a clickable URL with the text “13 results in the ACME directory.”
•
An icon image makes the results stand out as directory entries.
•
The two results are directory listing results, including a display name, first name, last name, phone
number, email address, and link to an image of the employee.
The