After you finish making and saving changes in
the Page Layout Helper, you can,
if you wish, make further changes in the XSLT Stylesheet Editor.
You must make all Page Layout changes in the boxes provided before
editing the Stylesheet directly. These changes are saved in the
Stylesheet when you click Save Page Layout Code.
You cannot go back to the Page Layout Helper after you manually edit
the Stylesheet, unless you start over completely by clicking the
Restore Default button.
You can export the Stylesheet to work on in another location, then
import it when you are satisfied with the changes. You can then preview
the changes you've made.
All styles must be defined inside the style sheet. You cannot include external XML or XSLT code into the search appliance stylesheet.
Making Changes in the XSLT Stylesheet
Editor
Here are the sections of the Stylesheet that you can work in to make
changes. Click the links for more details on each one.
To view or edit the XSLT stylesheet:
- Under Serving > Front Ends, click the Edit link for a front end.
- Scroll down to see the XSLT Stylesheet Editor.
- Click the Edit Underlying XSLT Code link.
- Enter any changes to the stylesheet and click the Preview
button to review the changes.
- When finished previewing your changes, close the preview window.
- Correct errors or make more changes.
- When finished, click the Save XSLT Code button.
To export the XSLT stylesheet:
- On the Output Format page,
scroll down to see the XSLT Stylesheet Editor.
- Click the Edit Underlying XSLT Code link.
- Click the Export button.
- In the File Download wizard, click OK. Then navigate to a location
for the file.
To import an edited XSLT stylesheet:
- On the Output Format page,
scroll down to see the XSLT Stylesheet Editor.
- Click the Edit Underlying XSLT Code link.
- Enter the filename of the edited Stylesheet in
the Import Stylesheet box, or browse for the file. Click the Import button. A confirmation message
warns that this will overwrite your page layout settings.
- Click OK. The edited Stylesheet displays and is validated. Errors
found during validation are displayed in red.
- Fix errors in the file and repeat these Import steps.
- When finished, click the Save XSLT Code
button.
To restore the default XSLT stylesheet:
- On the Output Format page, scroll down to see the XSLT Stylesheet Editor.
- Click the Edit Underlying XSLT Code link.
- Click the Restore Default button. A confirmation
message warns that this will overwrite your page layout settings.
- Click OK. The original Stylesheet is restored.
The Search Protocol Reference section on HTML
via XSLT provides more information.