Documentation Center

html

Retrieves an HTML template from a skin, from the html/ folder, and provides a set of specific search variables to the HTML renderer. Within this HTML template, you can use the <lcui:search_languages/> and <lcui:search_categories/> templates.

Description

The HTML template is rendered and localized using xsl/ui/ui_skin.xsl.

Parameters

action
html
current_lang
The language of the content or user interface that the user is viewing. This is provided to set the current value of the language drop-down in the search interface.
resource
The filename of the HTML template to get from the skin (home.html).

Example URL

http://<host>:<port>/<context>/web/search.xql?action=html&current_lang=<value>&resource=<value>

Successful Result

The result of the HTML template file after being transformed and localized by xsl/ui/ui_skin.xsl. This HTML page is returned with mime-type of "text/html" and the XHTML 1.0 Transitional DOCTYPE declaration.

Failed Result

An HTML page indicating a 404 Not Found error.